Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
agajews committed Apr 30, 2016
0 parents commit 39eaf4f
Show file tree
Hide file tree
Showing 18 changed files with 389 additions and 0 deletions.
19 changes: 19 additions & 0 deletions apricity-chrome-profile/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#Maintainer: Alex Gajewski <[email protected]>

_pkgname='Apricity Chrome Profile'
pkgname=apricity-chrome-profile
pkgver=1.0.0
pkgrel=1
pkgdesc='Default Google Chrome Profile for Apricity OS'
arch=(any)
license=(GPL)
url="https://github.com/Apricity-OS/apricity-chrome-profile"
depends=()
source=("git+https://github.com/Apricity-OS/apricity-chrome-profile#branch=master")
sha256sums=('SKIP')

package() {
mkdir -p "${pkgdir}/etc/apricity-assets"
#cp -rf "${srcdir}/apricity-chrome-profile/chrome-apps" "${pkgdir}/etc/apricity-assets"
cp -rf "${srcdir}/apricity-chrome-profile/google-chrome" "${pkgdir}/etc/apricity-assets"
}
18 changes: 18 additions & 0 deletions apricity-icons/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#Maintainer: Alex Gajewski <[email protected]>

_pkgname='Apricity Icons'
pkgname=apricity-icons
pkgver=1.0.0
pkgrel=1
pkgdesc='Icons for Apricity OS'
arch=(any)
license=(GPL)
url="https://github.com/Apricity-OS/apricity-icons"
depends=()
source=("git+https://github.com/Apricity-OS/apricity-icons#branch=master")
sha256sums=('SKIP')

package() {
mkdir -p "${pkgdir}/usr/share/icons"
cp -rf "${srcdir}/apricity-icons/Apricity Icons" "${pkgdir}/usr/share/icons"
}
7 changes: 7 additions & 0 deletions apricity-icons/apricity-icons.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
post_remove(){
rm -rf "/usr/share/icons/Apricity Icons"
}

pre_upgrade(){
rm -rf "/usr/share/icons/Apricity Icons"
}
22 changes: 22 additions & 0 deletions apricity-keyring/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Based on the file created for Arch Linux by:
# Pierre Schmitz <[email protected]>

# Maintainer: Alex Gajewski <[email protected]>

pkgname=apricity-keyring
pkgver=1.0.0
pkgrel=1
pkgdesc='Apricity PGP keyring'
arch=('any')
url='https://github.com/Apricity-OS/apricity-keyring'
license=('GPL')
install="${pkgname}.install"
source=('git+https://github.com/Apricity-OS/apricity-keyring#branch=master')
sha256sums=('SKIP')

package() {
#cd "${srcdir}/${pkgname}-${pkgver}"
cd "${srcdir}/apricity-keyring"
make PREFIX=/usr DESTDIR=${pkgdir} install
}
# -*- mode: bash;-*-
15 changes: 15 additions & 0 deletions apricity-keyring/apricity-keyring.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
post_upgrade() {
if usr/bin/pacman-key -l >/dev/null 2>&1; then
usr/bin/pacman-key --populate apricity
else
echo " >>> Run \`pacman-key --init\` to set up your pacman keyring."
echo " >>> Then run \`pacman-key --populate apricity\` to install the Apricity keyring."
fi
}

post_install() {
if [ -x usr/bin/pacman-key ]; then
post_upgrade
fi
}
# -*- mode: bash;-*-
25 changes: 25 additions & 0 deletions apricity-themes-cinnamon/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#Maintainer: Alex Gajewski <[email protected]>

_pkgname='Apricity Themes'
pkgname=apricity-themes-cinnamon
pkgver=1.0.4
pkgrel=1
pkgdesc='Cinnamon Assets for Apricity OS'
arch=(any)
license=(GPL)
url="https://github.com/Apricity-OS/apricity-themes-cinnamon"
depends=()
replaces=(apricity-themes)
conflicts=(apricity-themes, apricity-themes-gnome)
provides=(apricity-themes)
source=("git+https://github.com/Apricity-OS/apricity-themes-cinnamon#branch=master")
sha256sums=('SKIP')
install="apricity-themes-cinnamon.install"

package() {
rm -rf "${pkgdir}/usr/share/themes/Arctic Apricity"
mkdir -p "${pkgdir}/usr/share/themes"
mkdir -p "${pkgdir}/etc/skel/.config/autostart"
cp -rf "${srcdir}/apricity-themes-cinnamon/Arctic Apricity" "${pkgdir}/usr/share/themes"
cp -f "${srcdir}/apricity-themes-cinnamon/firstrun-desktop.sh" "${pkgdir}/etc/skel/.config/autostart"
}
11 changes: 11 additions & 0 deletions apricity-themes-cinnamon/apricity-themes-cinnamon.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
post_remove(){
rm -r "/usr/share/themes/Arctic Apricity"
}

pre_upgrade(){
rm -r "/usr/share/themes/Arctic Apricity"
}

pre_install(){
rm -r "/usr/share/themes/Arctic Apricity"
}
25 changes: 25 additions & 0 deletions apricity-themes-gnome/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#Maintainer: Alex Gajewski <[email protected]>

_pkgname='Apricity Themes'
pkgname=apricity-themes-gnome
pkgver=1.0.2
pkgrel=1
pkgdesc='Gnome Assets for Apricity OS'
arch=(any)
license=(GPL)
url="https://github.com/Apricity-OS/apricity-themes-gnome"
depends=()
replaces=(apricity-themes)
conflicts=(apricity-themes, apricity-themes-cinnamon)
provides=(apricity-themes)
source=("git+https://github.com/Apricity-OS/apricity-themes-gnome#branch=master")
sha256sums=('SKIP')
install="apricity-themes-gnome.install"

package() {
rm -rf "${pkgdir}/usr/share/themes/Arctic Apricity"
mkdir -p "${pkgdir}/usr/share/themes"
mkdir -p "${pkgdir}/etc/skel/.config/autostart"
cp -rf "${srcdir}/apricity-themes-gnome/Arctic Apricity" "${pkgdir}/usr/share/themes"
cp -f "${srcdir}/apricity-themes-gnome/firstrun-desktop.sh" "${pkgdir}/etc/skel/.config/autostart"
}
11 changes: 11 additions & 0 deletions apricity-themes-gnome/apricity-themes-gnome.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
post_remove(){
rm -r "/usr/share/themes/Arctic Apricity"
}

pre_upgrade(){
rm -r "/usr/share/themes/Arctic Apricity"
}

pre_install(){
rm -r "/usr/share/themes/Arctic Apricity"
}
27 changes: 27 additions & 0 deletions apricity-vim/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#Maintainer: Alex Gajewski <[email protected]>

_pkgname='Apricity Vim'
pkgname=apricity-vim
pkgver=1.0.0
pkgrel=1
pkgdesc='Vim config for Apricity OS'
arch=(any)
license=(GPL)
install="apricity-vim.install"
url="https://github.com/Apricity-OS/apricity-vim"
source=("git+https://github.com/Apricity-OS/apricity-vim#branch=master")
sha256sums=('SKIP')

package() {
mkdir -p "${pkgdir}/etc/skel/"
rm -rf "${pkgdir}/etc/skel/.vim"
rm -f "${pkgdir}/etc/skel/.vimrc"
cp -rf "${srcdir}/apricity-vim/.vim" "${pkgdir}/etc/skel"
cp -f "${srcdir}/apricity-vim/.vimrc" "${pkgdir}/etc/skel"

mkdir -p "${pkgdir}/root/"
rm -rf "${pkgdir}/root/.vim"
rm -f "${pkgdir}/root/.vimrc"
cp -rf "${srcdir}/apricity-vim/.vim" "${pkgdir}/root"
cp -f "${srcdir}/apricity-vim/.vimrc" "${pkgdir}/root"
}
13 changes: 13 additions & 0 deletions apricity-vim/apricity-vim.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
pre_install(){
rm -rf /etc/skel/.vim
rm -f /etc/skel/.vimrc
rm -rf /root/.vim
rm -f /root/.vimrc
}

pre_upgrade(){
rm -rf /etc/skel/.vim
rm -f /etc/skel/.vimrc
rm -rf /root/.vim
rm -f /root/.vimrc
}
21 changes: 21 additions & 0 deletions apricity-wallpapers/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#Maintainer: Alex Gajewski <[email protected]>

_pkgname='Apricity Wallpapers'
pkgname=apricity-wallpapers
pkgver=1.0.0
pkgrel=1
pkgdesc='Wallpapers for Apricity OS'
arch=(any)
license=(GPL)
url="https://github.com/Apricity-OS/apricity-wallpapers"
depends=()
source=("git+https://github.com/Apricity-OS/apricity-wallpapers#branch=master")
sha256sums=('SKIP')
install=apricity-wallpapers.install

package() {
mkdir -p "${pkgdir}/usr/share/backgrounds"
cp -rf "${srcdir}/apricity-wallpapers/backgrounds/apricity" "${pkgdir}/usr/share/backgrounds"
mkdir -p "${pkgdir}/usr/share/gnome-background-properties"
cp -f "${srcdir}/apricity-wallpapers/apricity-backgrounds.xml" "${pkgdir}/usr/share/gnome-background-properties"
}
28 changes: 28 additions & 0 deletions apricity-wallpapers/apricity-wallpapers.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
post_install(){
rm -f /usr/share/gnome-background-properties/adwaita.xml
rm -f /usr/share/gnome-background-properties/gnome-default.xml
rm -rf /usr/share/backgrounds/gnome
mv /usr/share/backgrounds/apricity/ /usr/share/backgrounds/gnome
rm -f /usr/share/gnome-background-properties/gnome-backgrounds.xml
cp /usr/share/gnome-background-properties/apricity-backgrounds.xml /usr/share/gnome-background-properties/gnome-backgrounds.xml
chmod -R 755 /usr/share/backgrounds/gnome
}

post_remove(){
rm -rf /usr/share/backgrounds/apricity
rm -f /usr/share/gnome-background-properties/apricity-backgrounds.xml
}

pre_upgrade(){
rm -rf /usr/share/backgrounds/apricity
rm -f /usr/share/gnome-background-properties/apricity-backgrounds.xml
}

post_upgrade(){
rm -f /usr/share/gnome-background-properties/adwaita.xml
rm -f /usr/share/gnome-background-properties/gnome-default.xml
rm -rf /usr/share/backgrounds/gnome
mv /usr/share/backgrounds/apricity/ /usr/share/backgrounds/gnome
rm -f /usr/share/gnome-background-properties/gnome-backgrounds.xml
cp /usr/share/gnome-background-properties/apricity-backgrounds.xml /usr/share/gnome-background-properties/gnome-backgrounds.xml
}
32 changes: 32 additions & 0 deletions apricityassets/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#Maintainer: Alex Gajewski <[email protected]>

_pkgname='Apricity Assets'
pkgname=apricityassets
pkgver=1.0.0
pkgrel=1
pkgdesc='Assets for Apricity OS'
arch=(any)
license=(GPL)
url="https://github.com/Apricity-OS/apricityassets"
depends=('kdebase-runtime' 'icedtea-web')
source=("git+https://github.com/Apricity-OS/apricityassets#branch=master")
sha256sums=('SKIP')
install=apricityassets.install

package() {
mkdir -p "${pkgdir}/usr/share/etc"
mkdir -p "${pkgdir}/usr/share/gnome-shell/extensions"
mkdir -p "${pkgdir}/etc/skel"
mkdir -p "${pkgdir}/usr/share/plymouth/themes"
cp -rf "${srcdir}/apricityassets/apricity-assets" "${pkgdir}/etc"
cp -rf ${srcdir}/apricityassets/extensions/* "${pkgdir}/usr/share/gnome-shell/extensions"
#cp -rf "${srcdir}/apricityassets/.liquidprompt" "${pkgdir}/etc/skel"
cp -rf "${srcdir}/apricityassets/plymouth/apricity" "${pkgdir}/usr/share/plymouth/themes"
mkdir -p "${pkgdir}/etc/skel/.config/autostart"
mkdir -p "${pkgdir}/etc/gdm"
mkdir -p "${pkgdir}/etc/sudoers.d"
chmod 750 -R "${pkgdir}/etc/sudoers.d"
cp -f "${srcdir}/apricityassets/firstrun.sh" "${pkgdir}/etc/skel/.config/autostart"
cp -f "${srcdir}/apricityassets/firstrun.desktop" "${pkgdir}/etc/skel/.config/autostart"
cp -f "${srcdir}/apricityassets/g_wheel" "${pkgdir}/etc/sudoers.d"
}
27 changes: 27 additions & 0 deletions apricityassets/apricityassets.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
post_install(){
kwriteconfig --file kdeglobals --group General --key widgetStyle gtk && kwriteconfig --file kdeglobals --group Icons --key Theme Human
#chown -R root /etc/apricity-assets
#chmod -R 755 /etc/apricity-assets
}

post_remove(){
rm /etc/apricity-assets/postinstall.sh
rm -r /etc/skel/.liquidprompt
rm -r /usr/share/plymouth/themes/apricity
rm /etc/skel/.config/autostart/firstrun.sh
rm /etc/skel/.config/autostart/firstrun.desktop
}

pre_upgrade(){
rm /etc/apricity-assets/postinstall.sh
rm -r /etc/skel/.liquidprompt
rm -r /usr/share/plymouth/themes/apricity
rm /etc/skel/.config/autostart/firstrun.sh
rm /etc/skel/.config/autostart/firstrun.desktop
}

post_upgrade(){
kwriteconfig --file kdeglobals --group General --key widgetStyle gtk && kwriteconfig --file kdeglobals --group Icons --key Theme Human
#chown -R root /etc/apricity-assets
#chmod -R 755 /etc/apricity-assets
}
51 changes: 51 additions & 0 deletions calamares/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
pkgname=calamares
_pointver=0
pkgver=2.0.${_pointver}
pkgrel=9
pkgdesc='Distribution-independent installer framework'
arch=('i686' 'x86_64')
license=(GPL)
url="https://github.com/calamares"
license=('LGPL')
depends=('kconfig' 'kcoreaddons' 'ki18n' 'solid' 'yaml-cpp' 'parted' 'boost' 'hwinfo' 'qt5-svg' 'polkit-qt5' 'gptfdisk' 'kdebase-runtime' 'rsync' 'python' 'dmidecode' 'ki18n' 'squashfs-tools' 'kpmcore-git')
makedepends=('extra-cmake-modules' 'qt5-tools' 'git')
backup=('usr/share/calamares/modules/bootloader.conf'
'usr/share/calamares/modules/displaymanager.conf'
'usr/share/calamares/modules/initcpio.conf'
'usr/share/calamares/modules/unpackfs.conf')

source=("git+https://github.com/Apricity-OS/calamares#branch=master")

sha256sums=('SKIP')

prepare() {
cd "$srcdir/$pkgname"
#sed -i -e "s|CALAMARES_VERSION_PATCH 0|CALAMARES_VERSION_PATCH $_pointver|g" CMakeLists.txt
}

build() {
cd "$srcdir/$pkgname"

mkdir -p build
cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_PARTITIONMANAGER=1 \
-DCMAKE_INSTALL_LIBDIR=lib
make
}

package() {
cd "$srcdir/$pkgname/build"
make DESTDIR="$pkgdir" install
install -Dm644 "../settings.conf" "$pkgdir/usr/share/calamares/settings.conf"
mkdir -p /usr/share/icons/
install -Dm644 "../calamares.png" "$pkgdir/usr/share/icons/calamares.png"
install -Dm644 "../calamares.desktop" "$pkgdir/usr/share/applications/calamares.desktop"
rm -r "$pkgdir/usr/lib/calamares/modules/dummyprocess/"
rm -r "$pkgdir/usr/lib/calamares/modules/dummypython/"
rm "$pkgdir/usr/share/calamares/modules/dummypython.conf"
cd "$srcdir/$pkgname"
rm -r build
}
24 changes: 24 additions & 0 deletions ice-ssb/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#Maintainer: Alex Gajewski <[email protected]>

_pkgname=ice-ssb
pkgname=ice-ssb
pkgver=5.0.11
pkgrel=1
pkgdesc='ICE SSB'
arch=(any)
url='http://github.com/Apricity-OS/ice-ssb'
license=(GPL)
depends=("python-requests" "python-beautifulsoup4" "python2" "pygtk" "python2-gobject")
source=(git+http://github.com/Apricity-OS/ice-ssb#branch=master)
sha256sums=('SKIP')
install=ice-ssb.install

package() {
mkdir -p "${pkgdir}/usr/share/applications"
mkdir -p "${pkgdir}/usr/share/pixmaps"
mkdir -p "${pkgdir}/usr/bin"
cp -f "${srcdir}/ice-ssb/ice" "${pkgdir}/usr/bin"
cp -f "${srcdir}/ice-ssb/ice-firefox" "${pkgdir}/usr/bin"
cp -f "${srcdir}/ice-ssb/ice.desktop" "${pkgdir}/usr/share/applications"
cp -f "${srcdir}/ice-ssb/ice.png" "${pkgdir}/usr/share/pixmaps"
}
Loading

0 comments on commit 39eaf4f

Please sign in to comment.