+++ /dev/null
-pkgbase = alterlinux-calamares
- pkgdesc = Distribution-independent installer framework
- pkgver = 3.2.35
- pkgrel = 3
- url = https://github.com/FascodeNet/alterlinux-calamares
- arch = i686
- arch = x86_64
- license = LGPL
- makedepends = extra-cmake-modules
- makedepends = qt5-tools
- makedepends = qt5-translations
- makedepends = git
- makedepends = boost
- makedepends = ninja
- depends = kconfig
- depends = kcoreaddons
- depends = kiconthemes
- depends = ki18n
- depends = kio
- depends = solid
- depends = yaml-cpp
- depends = kpmcore
- depends = boost-libs
- depends = hwinfo
- depends = qt5-svg
- depends = polkit-qt5
- depends = gtk-update-icon-cache
- depends = plasma-framework
- depends = qt5-xmlpatterns
- depends = squashfs-tools
- depends = ckbcomp
- depends = libffi
- backup = usr/share/calamares/modules/bootloader.conf
- backup = usr/share/calamares/modules/displaymanager.conf
- backup = usr/share/calamares/modules/initcpio.conf
- backup = usr/share/calamares/modules/unpackfs.conf
- backup = usr/share/calamares/modules/removeuser.conf
- backup = usr/share/calamares/modules/users.conf
- backup = usr/share/calamares/branding/alter/branding.desc
- source = https://github.com/FascodeNet/alterlinux-calamares/archive/3.2.35-3.tar.gz
- sha256sums = SKIP
-
-pkgname = alterlinux-calamares
-
+++ /dev/null
-# Maintainer: lap1sid <development@fascode.net>
-
-pkgname=alterlinux-calamares
-pkgver=3.2.35
-pkgrel=3
-_pkgrel='b2'
-pkgdesc='Distribution-independent installer framework'
-arch=('i686' 'x86_64')
-license=(GPL)
-url="https://github.com/FascodeNet/alterlinux-calamares"
-license=('LGPL')
-depends=('kconfig' 'kcoreaddons' 'kiconthemes' 'ki18n' 'kio' 'solid' 'yaml-cpp' 'kpmcore'
- 'boost-libs' 'hwinfo' 'qt5-svg' 'polkit-qt5' 'gtk-update-icon-cache' 'plasma-framework'
- 'qt5-xmlpatterns' 'squashfs-tools' 'ckbcomp' 'libffi')
-makedepends=('extra-cmake-modules' 'qt5-tools' 'qt5-translations' 'git' 'boost' 'ninja')
-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'
- 'usr/share/calamares/modules/removeuser.conf'
- 'usr/share/calamares/modules/users.conf'
- 'usr/share/calamares/branding/alter/branding.desc'
-)
-
-source+=("$url/archive/$pkgver-$pkgrel.tar.gz")
-#source+=("$url/archive/$pkgver-$_pkgrel.tar.gz")
-
-sha256sums=('SKIP')
-
-prepare() {
- # rename
- mv ${srcdir}/${pkgname}-${pkgver}-${pkgrel} ${srcdir}/${pkgver}-${pkgrel}
- #mv ${srcdir}/${pkgname}-${pkgver}-${_pkgrel} ${srcdir}/${pkgver}-${pkgrel}
- cd ${srcdir}/${pkgver}-${pkgrel}
- sed -i -e 's/"Install configuration files" OFF/"Install configuration files" ON/' CMakeLists.txt
-
- # change branding
- sed -i -e "s/default/alter/g" src/branding/CMakeLists.txt
-}
-
-build() {
- cd ${srcdir}/${pkgver}-${pkgrel}
-
- mkdir -p build
- cd build
- cmake .. \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DWITH_PYTHONQT:BOOL=ON \
- -DBoost_NO_BOOST_CMAKE=ON \
- -GNinja \
- -DSKIP_MODULES="tracking webview interactiveterminal initramfs \
- initramfscfg dracut dracutlukscfg \
- dummyprocess dummypython dummycpp \
- dummypythonqt services-openrc"
- ninja
-}
-
-package() {
- cd ${srcdir}/${pkgver}-${pkgrel}/build
- DESTDIR="$pkgdir" ninja install
- install -Dm755 "../data/final-process" "$pkgdir/usr/share/calamares/final-process"
- install -Dm644 "../data/alter-icon.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/calamares.svg"
- install -Dm644 "../data/calamares.desktop" "$pkgdir/usr/share/applications/calamares.desktop"
- install -Dm755 "../data/calamares_polkit" "$pkgdir/usr/bin/calamares_polkit"
- install -Dm644 "../data/49-nopasswd-calamares.rules" "$pkgdir/etc/polkit-1/rules.d/49-nopasswd-calamares.rules"
- chmod 750 "$pkgdir"/etc/polkit-1/rules.d
-
- # rename services-systemd back to services
- mv "$pkgdir/usr/lib/calamares/modules/services-systemd" "$pkgdir/usr/lib/calamares/modules/services"
- mv "$pkgdir/usr/share/calamares/modules/services-systemd.conf" "$pkgdir/usr/share/calamares/modules/services.conf"
- sed -i -e 's/-systemd//' "$pkgdir/usr/lib/calamares/modules/services/module.desc"
- sed -i -e 's/-systemd//' "$pkgdir/usr/share/calamares/settings.conf"
-}
+++ /dev/null
-pkgbase = alterlinux-live-tools
- pkgdesc = Scripts required for live environment
- pkgver = 1.6.2
- pkgrel = 1
- url = https://github.com/FascodeNet/alterlinux-live-tools
- arch = any
- license = SUSHI-WARE
- depends = xdg-user-dirs
- depends = bash
- source = https://github.com/FascodeNet/alterlinux-live-tools/archive/v1.6.2.zip
- md5sums = 2778b1b2d4ee7b165323d4288d54950f
-
-pkgname = alterlinux-live-tools
- pkgdesc = Scripts required for live environment (meta package)
- depends = xdg-user-dirs
- depends = bash
- depends = alterlinux-live-tools
- depends = alterlinux-gtk-bookmarks
- depends = alterlinux-welcome-page
- depends = alterlinux-plasma-bookmarks
- depends = alterlinux-desktop-file
- depends = alterlinux-live-info
- provides = alterlinux-live-tools
- conflicts = alterlinux-live-tools
-
-pkgname = alterlinux-gtk-bookmarks
- pkgdesc = Simple script to automatically generate GTK bookmarks
-
-pkgname = alterlinux-welcome-page
- pkgdesc = A simple script to open the official AlterLinux website
- optdepends = chromium: To open the page
- optdepends = google-chrome: To open the page
- optdepends = firefox: To open the page
-
-pkgname = alterlinux-plasma-bookmarks
- pkgdesc = Simple script to automatically generate Plasma bookmarks
-
-pkgname = alterlinux-desktop-file
- pkgdesc = Place the Calamares icon on your desktop
-
-pkgname = alterlinux-live-info
- pkgdesc = Display version information of live environment
-
+++ /dev/null
-# Maintaoner: Yamada Hayao <hayao@fascode.net>
-
-remove () {
- local _list
- local _file
- _list=($(echo "$@"))
- for _file in "${_list[@]}"; do
- if [[ -f ${_file} ]]; then
- rm -f "${_file}"
- elif [[ -d ${_file} ]]; then
- rm -rf "${_file}"
- fi
- done
-}
-_pkgname=(
- "alterlinux-live-tools"
- "alterlinux-gtk-bookmarks"
- "alterlinux-welcome-page"
- "alterlinux-plasma-bookmarks"
- "alterlinux-desktop-file"
- "alterlinux-live-info"
-)
-
-pkgname=(${_pkgname[@]})
-_reponame="fascode-live-tools"
-pkgver="1.6.2"
-pkgrel="1"
-pkgdesc="Scripts required for live environment"
-arch=('any')
-url="https://github.com/FascodeNet/${_reponame}"
-license=('SUSHI-WARE')
-depends=(
- "xdg-user-dirs"
- "bash"
-)
-md5sums=("2778b1b2d4ee7b165323d4288d54950f")
-source=("${url}/archive/v${pkgver}.zip")
-
-extracted="${_reponame}-${pkgver}"
-#extracted="${_reponame}"
-
-install_files() {
- _pkgname="${pkgname}"
- cd "${srcdir}/${extracted}/${_pkgname}"
- install -m 755 -D "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
-}
-
-install_license() {
- _pkgname="${pkgname}"
- cd "${srcdir}/${extracted}/"
- install -m 755 -D "LICENSE.md" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE.md"
-}
-
-
-# alterlinux-live-tools
-package_alterlinux-live-tools() {
- pkgdesc="Scripts required for live environment (meta package)"
- conflicts=('alterlinux-live-tools')
- provides=("alterlinux-live-tools")
-
- depends+=(${_pkgname[@]})
-
-
- install_license
-}
-
-# alterlinux-gtk-bookmarks
-package_alterlinux-gtk-bookmarks() {
- pkgdesc="Simple script to automatically generate GTK bookmarks"
- install_files
- install_license
-}
-
-# alterlinux-welcome-page
-package_alterlinux-welcome-page() {
- pkgdesc="A simple script to open the official AlterLinux website"
- optdepends=(
- 'chromium: To open the page'
- 'google-chrome: To open the page'
- 'firefox: To open the page'
- )
-
- install_files
- install_license
-}
-
-# alterlinux-plasma-bookmarks
-package_alterlinux-plasma-bookmarks() {
- pkgdesc="Simple script to automatically generate Plasma bookmarks"
- install_files
- install_license
-}
-
-# alterlinux-desktop-file
-package_alterlinux-desktop-file() {
- pkgdesc="Place the Calamares icon on your desktop"
- depends+=("glib2")
- install_files
-
- cd "${srcdir}/${extracted}/"
- install -m 755 -D "${srcdir}/${extracted}/${pkgname}/calamares.desktop" "${pkgdir}/usr/share/alterlinux/desktop-file/calamares.desktop"
- install -m 755 -D "${srcdir}/${extracted}/${pkgname}/welcome-to-alter.desktop" "${pkgdir}/usr/share/alterlinux/desktop-file/welcome-to-alter.desktop"
-
- install_license
-}
-
-# alterlinux-live-info
-package_alterlinux-live-info() {
- pkgdesc="Display version information of live environment"
- install_files
- install_license
-}
+++ /dev/null
-pkgbase = archlinux32-keyring
- pkgdesc = Arch Linux 32 PGP keyring
- pkgver = 20210331
- pkgrel = 1
- url = https://archlinux32.org
- install = archlinux32-keyring.install
- arch = any
- license = GPL
- conflicts = archlinux32-keyring-transition
- replaces = archlinux32-keyring-transition
- source = https://sources.archlinux32.org/sources/archlinux32-keyring-v20210331.tar.gz
- sha512sums = a29345e5ecb9fd14f2afc43dfdc5190c7c84d94a29e3487d6541c0cfcb52a71b3935382939fce7fcf5241437846793b0e9c21ce52fb3f26f508a5e6e2d51518c
-
-pkgname = archlinux32-keyring
-
+++ /dev/null
-# Maintainer: Erich Eckner <deep42thought@archlinux32.org>
-pkgname=archlinux32-keyring
-pkgver='20210331'
-pkgrel='1'
-pkgdesc='Arch Linux 32 PGP keyring'
-arch=('any')
-url='https://archlinux32.org'
-license=('GPL')
-install="${pkgname}.install"
-conflicts=('archlinux32-keyring-transition')
-replaces=('archlinux32-keyring-transition')
-source=("https://sources.archlinux32.org/sources/${pkgname}-v${pkgver}.tar.gz")
-sha512sums=('a29345e5ecb9fd14f2afc43dfdc5190c7c84d94a29e3487d6541c0cfcb52a71b3935382939fce7fcf5241437846793b0e9c21ce52fb3f26f508a5e6e2d51518c')
-
-package() {
- cd "${srcdir}/${pkgname}-v${pkgver}"
- make PREFIX=/usr DESTDIR=${pkgdir} install
-}
+++ /dev/null
-post_upgrade() {
- if usr/bin/pacman-key -l >/dev/null 2>&1; then
- usr/bin/pacman-key --populate archlinux32
- fi
-}
-
-post_install() {
- if [ -x usr/bin/pacman-key ]; then
- post_upgrade
- fi
-}
+++ /dev/null
-pkgbase = ckbcomp
- pkgdesc = Compile a XKB keyboard description to a keymap suitable for loadkeys or kbdcontrol
- pkgver = 1.199
- pkgrel = 1
- url = http://anonscm.debian.org/cgit/d-i/console-setup.git/
- arch = any
- license = GPL2
- depends = perl
- source = http://ftp.de.debian.org/debian/pool/main/c/console-setup/console-setup_1.199.tar.xz
- sha512sums = 8d969de9e6c300c799fb8c58c5300112c1576768c41cd29a9185ecbf0d5c5205356439b54141f00ef4e76ceaf3dc2106cb5fd3e9ec430a205183c07bea341d96
-
-pkgname = ckbcomp
-
+++ /dev/null
-# Maintainer: Nissar Chababy <funilrys at outlook dot com>
-# Ex-Maintainer: Jeroen Bollen <jbinero at gmail dot comau>
-
-pkgname=ckbcomp
-pkgver=1.199
-pkgrel=1
-pkgdesc="Compile a XKB keyboard description to a keymap suitable for loadkeys or kbdcontrol"
-arch=(any)
-url="http://anonscm.debian.org/cgit/d-i/console-setup.git/"
-license=('GPL2')
-depends=('perl')
-source=("http://ftp.de.debian.org/debian/pool/main/c/console-setup/console-setup_${pkgver}.tar.xz")
-sha512sums=('8d969de9e6c300c799fb8c58c5300112c1576768c41cd29a9185ecbf0d5c5205356439b54141f00ef4e76ceaf3dc2106cb5fd3e9ec430a205183c07bea341d96')
-
-package() {
- cd console-setup
- install -d ${pkgdir}/usr/bin/
- install -m755 Keyboard/ckbcomp ${pkgdir}/usr/bin/
-}
+++ /dev/null
-pkgbase = lightdm-settings
- pkgdesc = A configuration tool for the LightDM display manager
- pkgver = 1.4.0
- pkgrel = 1
- url = https://github.com/linuxmint/lightdm-settings
- arch = any
- license = GPL3
- makedepends = lightdm-slick-greeter
- makedepends = desktop-file-utils
- makedepends = gettext
- depends = hicolor-icon-theme
- depends = lightdm-slick-greeter
- depends = polkit
- depends = python-gobject
- depends = python-setproctitle
- depends = python-xapp
- optdepends = lightdm-guest: Enable guest session options
- source = lightdm-settings-1.4.0.tar.gz::https://github.com/linuxmint/lightdm-settings/archive/1.4.0.tar.gz
- sha256sums = fdecb5fecd72e800c8fc0a06a5c78d4ebdf6bcea3a9923f99f196a5a09cb3187
-
-pkgname = lightdm-settings
-
+++ /dev/null
-# Maintainer: Sam Burgos <santiago.burgos1089@gmail.com>
-
-pkgname=lightdm-settings
-pkgver=1.4.0
-pkgrel=1
-pkgdesc='A configuration tool for the LightDM display manager'
-arch=('any')
-url="https://github.com/linuxmint/${pkgname}"
-#url="http://packages.linuxmint.com/pool/main/l/${pkgname}"
-license=(GPL3)
-depends=(
- hicolor-icon-theme
- lightdm-slick-greeter
- polkit
- python-gobject
- python-setproctitle
- python-xapp
-)
-makedepends=(
- lightdm-slick-greeter
- desktop-file-utils
- gettext
-)
-optdepends=('lightdm-guest: Enable guest session options')
-source=("${pkgname}-${pkgver}.tar.gz::$url/archive/${pkgver}.tar.gz")
-#source=("${pkgname}-${pkgver}.tar.xz::${url}/${pkgname}_${pkgver}.tar.xz")
-sha256sums=('fdecb5fecd72e800c8fc0a06a5c78d4ebdf6bcea3a9923f99f196a5a09cb3187')
-
-## Packaging via Github
-build() {
- cd $pkgname-$pkgver
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- cp -r usr $pkgdir
-}
-
-## Packaging via Linuxmint repository
-#build() {
-# cd ${pkgname}
-# make
-#}
-
-#package() {
-# cd ${pkgname}
-# cp -r usr "$pkgdir"
-#}
+++ /dev/null
-pkgbase = lightdm-slick-greeter
- pkgdesc = A slick-looking LightDM greeter
- pkgver = 1.4.1
- pkgrel = 1
- url = https://github.com/linuxmint/slick-greeter
- install = slick-greeter.install
- arch = i686
- arch = x86_64
- license = GPL3
- makedepends = intltool
- makedepends = vala
- depends = cairo
- depends = freetype2
- depends = gtk3
- depends = libcanberra
- depends = libxext
- depends = lightdm
- depends = pixman
- depends = python
- depends = xorg-server
- optdepends = numlockx: enable numerical keypad on supported keyboard
- backup = etc/lightdm/slick-greeter.conf
- source = slick-greeter-1.4.1.tar.gz::https://github.com/linuxmint/slick-greeter/archive/1.4.1.tar.gz
- sha256sums = 55750c9ed3967812a05c918faa65c9dbd686b72bc565a290cb903a2f027f3b4d
-
-pkgname = lightdm-slick-greeter
-
+++ /dev/null
-# Maintainer: Sam Burgos <santiago.burgos1089@gmail.com>
-
-pkgname=lightdm-slick-greeter
-_pkgname=slick-greeter
-pkgver=1.4.1
-#_pkgver=master.mint19
-pkgrel=1
-pkgdesc='A slick-looking LightDM greeter'
-arch=(i686 x86_64)
-url="https://github.com/linuxmint/${_pkgname}"
-license=(GPL3)
-depends=(
- cairo
- freetype2
- gtk3
- libcanberra
- libxext
- lightdm
- pixman
- python
- xorg-server
-)
-optdepends=('numlockx: enable numerical keypad on supported keyboard')
-makedepends=(
- intltool
- vala
-)
-backup=('etc/lightdm/slick-greeter.conf')
-install=slick-greeter.install
-source=("${_pkgname}-${pkgver}.tar.gz::$url/archive/${pkgver}.tar.gz")
-sha256sums=('55750c9ed3967812a05c918faa65c9dbd686b72bc565a290cb903a2f027f3b4d')
-
-#prepare() {
-# cd ${_pkgname}-${pkgver}
-# #Allow compiling with newer versions of Vala
-# patch -Np0 -i ../compile_new_vala.patch
-#}
-
-build() {
- cd ${_pkgname}-${pkgver}
- #cd ${_pkgname}-${_pkgver}
- aclocal --install
- autoreconf -vfi
- intltoolize -f
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --sbindir=/usr/bin \
- --libexecdir=/usr/lib/lightdm
- make
-}
-
-package() {
- cd ${_pkgname}-${pkgver}
- #cd ${_pkgname}-${_pkgver}
- make DESTDIR="${pkgdir}" install
- # adjust launcher name
- mv $pkgdir/usr/share/xgreeters/slick-greeter.desktop \
- $pkgdir/usr/share/xgreeters/lightdm-slick-greeter.desktop
-}
+++ /dev/null
-post_install() {
- echo ":: Setting lightdm-slick-greeter as greeter session on /etc/lightdm/lightdm.conf"
- sed -i '/^greeter-session=/c\greeter-session=lightdm-slick-greeter' /etc/lightdm/lightdm.conf
-}
-
-post_remove() {
- echo ":: Removing greeter session on /etc/lightdm/lightdm.conf. Set another greeter session if you plan to keep using lightdm!!"
- sed -i '/^greeter-session=lightdm-slick-greeter/c\greeter-session=' /etc/lightdm/lightdm.conf
-}
+++ /dev/null
-pkgbase = lightdm-webkit2-theme-alter
- pkgdesc = AlterLinux webkit2 greeter theme
- pkgver = 3.0
- pkgrel = 1
- url = https://github.com/SereneTeam/lightdm-webkit2-theme-alter
- arch = any
- license = MIT
- depends = lightdm
- depends = lightdm-webkit2-greeter
- conflicts = lightdm-webkit2-theme-alter-git
- source = https://github.com/SereneTeam/lightdm-webkit2-theme-alter/archive/v3.0.zip
- md5sums = 3bed423ff4eb7d88e4ab47b546e51f59
-
-pkgname = lightdm-webkit2-theme-alter
-
+++ /dev/null
-# Maintainer: Yamada Hayao <development@fascode.net>
-
-pkgname=lightdm-webkit2-theme-alter
-_pkgname=lightdm-webkit2-theme-alter
-pkgver=3.0
-pkgrel=1
-pkgdesc="AlterLinux webkit2 greeter theme"
-arch=('any')
-url=https://github.com/SereneTeam/lightdm-webkit2-theme-alter
-license=('MIT')
-depends=('lightdm' 'lightdm-webkit2-greeter')
-optdepends=()
-source=("https://github.com/SereneTeam/${_pkgname}/archive/v${pkgver}.zip")
-md5sums=('3bed423ff4eb7d88e4ab47b546e51f59')
-conflicts=('lightdm-webkit2-theme-alter-git')
-
-remove () {
- local _list _file
- _list=($(echo "$@"))
- for _file in "${_list[@]}"; do
- if [[ -f "${_file}" ]]; then
- rm -f "${_file}"
- elif [[ -d ${_file} ]]; then
- rm -rf "${_file}"
- fi
- done
-}
-
-
-package () {
- mkdir -p "${pkgdir}/usr/share/lightdm-webkit/themes/alter"
- mv "${srcdir}/${pkgname}-${pkgver}/"* "${pkgdir}/usr/share/lightdm-webkit/themes/alter"
-}
+++ /dev/null
-pkgbase = mkinitcpio-openswap
- pkgdesc = mkinitcpio hook to open swap at boot time
- pkgver = 0.1.0
- pkgrel = 3
- url = https://aur.archlinux.org/packages/mkinitcpio-openswap/
- install = usage.install
- arch = any
- license = unknown
- depends = mkinitcpio
- backup = etc/openswap.conf
- source = openswap.hook
- source = openswap.install
- source = openswap.conf
- sha256sums = 84ef428386b7f4353af036ccfbd4c60901a76e2d0c7a38dd3be2000219ea9d23
- sha256sums = 94dd98a953bab2244215a2b20767cdc9500fc438bed9ec27cae72a73766c6b86
- sha256sums = 3308f2679bb7c962d98adf2684d25390025d025e3d30bc1e773e3522311ad325
-
-pkgname = mkinitcpio-openswap
-
+++ /dev/null
-MIT License
-
-Copyright (c) 2016 Fabio Tea
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
+++ /dev/null
-# Maintainer: Jenya Sovetkin <e.sovetkin@gmail.com>
-# Contributors: https://aur.archlinux.org/account/f4bio
-pkgname=mkinitcpio-openswap
-pkgver=0.1.0
-pkgrel=3
-pkgdesc="mkinitcpio hook to open swap at boot time"
-arch=(any)
-license=('unknown')
-url="https://aur.archlinux.org/packages/mkinitcpio-openswap/"
-depends=(mkinitcpio)
-backup=('etc/openswap.conf')
-install="usage.install"
-source=('openswap.hook'
- 'openswap.install'
- 'openswap.conf')
-sha256sums=('84ef428386b7f4353af036ccfbd4c60901a76e2d0c7a38dd3be2000219ea9d23'
- '94dd98a953bab2244215a2b20767cdc9500fc438bed9ec27cae72a73766c6b86'
- '3308f2679bb7c962d98adf2684d25390025d025e3d30bc1e773e3522311ad325')
-
-
-package() {
- install -Dm 644 openswap.hook \
- "${pkgdir}/usr/lib/initcpio/hooks/openswap"
- install -Dm 644 openswap.install \
- "${pkgdir}/usr/lib/initcpio/install/openswap"
- install -Dm 644 openswap.conf \
- "${pkgdir}/etc/openswap.conf"
-}
+++ /dev/null
-## cryptsetup open $swap_device $crypt_swap_name
-## get uuid using e.g. lsblk -f
-swap_device=/dev/disk/by-uuid/2788eb78-074d-4424-9f1d-ebffc9c37262
-crypt_swap_name=cryptswap
-
-## one can optionally provide a keyfile device and path on this device
-## to the keyfile
-keyfile_device=/dev/mapper/cryptroot
-keyfile_filename=etc/keyfile-cryptswap
-
-## additional arguments are given to mount for keyfile_device
-## has to start with --options (if so desired)
-#keyfile_device_mount_options="--options=subvol=__active/__"
-
-## additional arguments are given to cryptsetup
-## --allow-discards options is desired in case swap is on SSD partition
-cryptsetup_options="--type luks"
+++ /dev/null
-run_hook ()
-{
- ## read openswap configurations
- source /openswap.conf
-
- ## Optional: To avoid race conditions
- x=0;
- while [ ! -b "$keyfile_device" ] && [ $x -le 10 ]; do
- x=$((x+1))
- sleep .2
- done
- ## End of optional
-
- if [ -z "$keyfile_device" ] || [ -z "$keyfile_filename" ]
- then
- ## case when no keyfile provided in configurations
- cryptsetup open $cryptsetup_options "$swap_device" "$crypt_swap_name"
- else
- ## case when keyfile is provided in configurations
- mkdir openswap_keymount
- mount $keyfile_device_mount_options "$keyfile_device" openswap_keymount
- cryptsetup open $cryptsetup_options --key-file "openswap_keymount/$keyfile_filename" "$swap_device" "$crypt_swap_name"
- umount openswap_keymount
- fi
-}
+++ /dev/null
-build ()
-{
- grep "swap_device=" /etc/openswap.conf > "$BUILDROOT/openswap.conf"
- grep "crypt_swap_name=" /etc/openswap.conf >> "$BUILDROOT/openswap.conf"
- grep "keyfile_device=" /etc/openswap.conf >> "$BUILDROOT/openswap.conf"
- grep "keyfile_filename=" /etc/openswap.conf >> "$BUILDROOT/openswap.conf"
- grep "keyfile_device_mount_options=" /etc/openswap.conf >> "$BUILDROOT/openswap.conf"
- grep "cryptsetup_options=" /etc/openswap.conf >> "$BUILDROOT/openswap.conf"
-
- source "$BUILDROOT/openswap.conf"
-
- if [ -z "$swap_device" ]; then
- warning "swap_device variable is not set"
- fi
-
- if [ -z "$crypt_swap_name" ]; then
- warning "crypt_swap_name variable is not set"
- fi
-
- add_runscript
-}
-help ()
-{
-cat<<HELPEOF
- This hook opens a swap at boot time
-HELPEOF
-}
+++ /dev/null
-post_install() {
- echo ""
- echo "Alter /etc/openswap.conf file for your swap device name, keyfiles, etc..."
- echo ""
- echo "For more information see: https://wiki.archlinux.org/index.php/Dm-crypt/Swap_encryption#mkinitcpio_hook"
- echo ""
- echo "Don't forget to add the openswap hook after encrypt and before resume in your /etc/mkinitcpio.conf and run mkinitcpio -p linux..."
- echo ""
-}
+++ /dev/null
-pkgbase = polybar
- pkgdesc = A fast and easy-to-use status bar
- pkgver = 3.5.0
- pkgrel = 1
- url = https://github.com/polybar/polybar
- install = polybar.install
- arch = i686
- arch = x86_64
- license = MIT
- makedepends = cmake
- makedepends = git
- makedepends = python
- makedepends = pkg-config
- makedepends = python-sphinx
- makedepends = i3-wm
- depends = cairo
- depends = xcb-util-image
- depends = xcb-util-wm
- depends = xcb-util-xrm
- depends = xcb-util-cursor
- depends = alsa-lib
- depends = libpulse
- depends = libmpdclient
- depends = libnl
- depends = jsoncpp
- depends = curl
- optdepends = i3-wm: i3 module support
- optdepends = ttf-unifont: Font used in example config
- optdepends = siji-git: Font used in example config
- optdepends = xorg-fonts-misc: Font used in example config
- conflicts = polybar-git
- source = https://github.com/polybar/polybar/releases/download/3.5.0/polybar-3.5.0.tar
- sha256sums = e8c1798c195854852fc7c99703287294123381101b371f171d4aa540aeb17afd
-
-pkgname = polybar
-
+++ /dev/null
-# Maintainer: Patrick Ziegler <p.ziegler96@gmail.com>
-pkgname=polybar
-pkgver=3.5.0
-pkgrel=1
-pkgdesc="A fast and easy-to-use status bar"
-arch=("i686" "x86_64")
-url="https://github.com/polybar/polybar"
-license=("MIT")
-depends=("cairo" "xcb-util-image" "xcb-util-wm" "xcb-util-xrm" "xcb-util-cursor"
- "alsa-lib" "libpulse" "libmpdclient" "libnl" "jsoncpp" "curl")
-optdepends=("i3-wm: i3 module support"
- "ttf-unifont: Font used in example config"
- "siji-git: Font used in example config"
- "xorg-fonts-misc: Font used in example config")
-makedepends=("cmake" "git" "python" "pkg-config" "python-sphinx" "i3-wm")
-conflicts=("polybar-git")
-install="${pkgname}.install"
-source=(${url}/releases/download/${pkgver}/polybar-${pkgver}.tar)
-sha256sums=('e8c1798c195854852fc7c99703287294123381101b371f171d4aa540aeb17afd')
-
-prepare() {
- mkdir -p "${pkgname}/build"
-}
-
-build() {
- cd "${pkgname}/build" || exit 1
- # Force cmake to use system python (to detect xcbgen)
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 ..
- cmake --build .
-}
-
-package() {
- cmake --build "${pkgname}/build" --target install -- DESTDIR="${pkgdir}"
- install -Dm644 "${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
+++ /dev/null
-post_install() {
- cat << EOF
-
- Get started with the example configuration:
-
- $ install -Dm644 /usr/share/doc/polybar/config \$HOME/.config/polybar/config
- $ polybar example
-
- For more information, see https://github.com/polybar/polybar/wiki
-
-EOF
-}
-
-post_upgrade() {
- [ "$(vercmp "$2" "2.5.1-1")" = "-1" ] || exit 0
- cat << EOF
-
- The % suffix has been removed from percentage tokens.
- The suffix is instead added by the user, for example:
-
- format-charging = Capacity %percentage%%
-
- -- jaagr
-
-EOF
-}