postmarketos-ui-awesome-mobile/APKBUILD

92 lines
4.9 KiB
Plaintext

# Contributor:
# Maintainer:
pkgname=postmarketos-ui-awesome-mobile
pkgver=1
pkgrel=0
pkgdesc="awesomewm configuration for touchscreens"
url="https://git.shadowkat.net/izaya/awesome-mobile"
arch="noarch"
license="MPL-2.0"
depends="
bash
elogind
networkmanager
networkmanager-cli
networkmanager-elogind
networkmanager-openrc
networkmanager-tui
networkmanager-wifi
networkmanager-wwan
network-manager-applet
polkit-elogind
postmarketos-base-ui
awesome
dnsmasq
gnome-console
lightdm
lightdm-gtk-greeter
onboard
postmarketos-base-ui
postmarketos-base-ui-x11
pulseaudio
xf86-input-evdev
xinput
xorg-server
xrandr
"
makedepends=""
checkdepends=""
install="$pkgname.post-install $pkgname.post-upgrade"
subpackages=""
options="!check"
source="
awesome-mobile.sh
awesome-mobile.desktop
65-lightdm-keyboard.conf
gtk-settings.ini
awesome-mobile.tar.gz::https://git.shadowkat.net/izaya/awesome-mobile/archive/master.tar.gz
awesome-longpress.tar.gz::https://git.shadowkat.net/izaya/awesome-longpress/archive/master.tar.gz
awesome-navbar.tar.gz::https://git.shadowkat.net/izaya/awesome-navbar/archive/master.tar.gz
awesome-launcherpopup.tar.gz::https://git.shadowkat.net/izaya/awesome-launcherpopup/archive/master.tar.gz
awesome-switcherpopup.tar.gz::https://git.shadowkat.net/izaya/awesome-switcherpopup/archive/master.tar.gz
awesome-powermenu.tar.gz::https://git.shadowkat.net/izaya/awesome-powermenu/archive/master.tar.gz
vkbd.tar.gz::https://codeberg.org/izaya/vkbd/archive/main.tar.gz
"
builddir="$srcdir/"
package () {
ls "$srcdir"
mkdir -p "$pkgdir/usr/share"
cp -a "$srcdir/awesome-mobile" "$pkgdir/usr/share/awesome-mobile"
cp -a "$srcdir/awesome-longpress" "$pkgdir/usr/share/awesome-mobile/awesome-longpress"
cp -a "$srcdir/awesome-navbar" "$pkgdir/usr/share/awesome-mobile/awesome-navbar"
cp -a "$srcdir/awesome-launcherpopup" "$pkgdir/usr/share/awesome-mobile/awesome-launcherpopup"
cp -a "$srcdir/awesome-switcherpopup" "$pkgdir/usr/share/awesome-mobile/awesome-switcherpopup"
cp -a "$srcdir/awesome-powermenu" "$pkgdir/usr/share/awesome-mobile/awesome-powermenu"
cp -a "$srcdir/vkbd" "$pkgdir/usr/share/awesome-mobile/vkbd"
echo "$srcdir/awesome-mobile.desktop" "$pkgdir/usr/share/xsessions/awesome-mobile.desktop"
install -Dm644 "$srcdir/awesome-mobile.desktop" "$pkgdir/usr/share/xsessions/awesome-mobile.desktop"
install -Dm644 "$srcdir/65-lightdm-keyboard.conf" "$pkgdir/etc/lightdm/lightdm-gtk-greeter.conf.d/65-lightdm-keyboard.conf"
install -Dm644 "$srcdir/gtk-settings.ini" "$pkgdir/etc/skel/.config/gtk-3.0/settings.ini"
install -Dm644 "$srcdir/gtk-settings.ini" "$pkgdir/etc/skel/.config/gtk-4.0/settings.ini"
install -Dm755 "$srcdir/awesome-mobile.sh" "$pkgdir/usr/bin/awesome-mobile.sh"
find "$pkgdir/usr/share/awesome-mobile" -name README.md -delete
find "$pkgdir/usr/share/awesome-mobile" -name LICENSE -delete
find "$pkgdir/usr/share/awesome-mobile" -type f -exec chmod 644 -- {} +
find "$pkgdir/usr/share/awesome-mobile" -type d -exec chmod 755 -- {} +
chmod 755 "$pkgdir/usr/share/awesome-mobile/awesome-powermenu/rotate.lua"
}
sha512sums="
ce990b5e6269b94bd91a07388b52890156eda21fd4b61ae1729319213e8b953b00ef80de5dd05da45db423f584708c74194e67321a28c96c3f36bd21f5dc9766 awesome-mobile.sh
8f51346f42b06fff9dce0c1809c8c35552fc8118592784e5f482c2ab49bca4660e115a959fcc95757d6179b4834748a72b93550c5eb1b0203a9fea520e35eb6b awesome-mobile.desktop
8d5a6789deac75dfec1ed9662e6d6a5addf53c3f2e31ccb929da02a7dd7cde7f4bc4a5b3a0b863328b49c36827e104b1506417dd10f35ebd8ba0f25d8da0bcc1 65-lightdm-keyboard.conf
fdfdcd5542e48e899369f08ba49a8ac93da81926179c611b2148666f838fc1cfbd37a290cf2af24c8a5a9896166fcb31ac065d6051d214a516d019259b7fdd61 awesome-mobile.tar.gz
ecce7ec21e6fea5e42ea4b40baffe875a5610207b33665502bd3da423173e034e91a198e0ae86e1faa61ffca81919cbf68781edb0c5b34aa148b6ccbbb638be3 awesome-longpress.tar.gz
9399941b4710f0c11eb9898ae4d40a46593ed3d9ce37655f07c934292aa8e2219c60b88bd9244ebac646256ed8c2d2c88d3d9f0e66cd826a9ec1f29de2dc1d0c awesome-navbar.tar.gz
b455c371d7d9061422491530ab6634e92e4d4599837dcde4eb8ce6f9832dd7c827279c41d891bf6124f3aaf4ee87f5d872ba70c631442139756f17a05120ce2e awesome-launcherpopup.tar.gz
21e870c7d2df4d4643720502536a81624a0bc2e8481d86fcff31526cbe744d3cdb8d00d35a16a747845059f2d327123523901bc9e8d75ccd365b2ff79fc18aeb awesome-switcherpopup.tar.gz
a038b93beb5d1a081507408a5af5f8f2500cf2ca081bce9e725fd5c75c50179b38ca5b4139ea21803a410251472bbeaf68c7dd5842cdf75fd29f75aac55d3790 awesome-powermenu.tar.gz
8813fca635a55a37b3c4496ebfc0cfc7b5b660b17707e6c754e88f3ee0937e27433a4e50ee040214b088be41c3b71f2ca0dce183ee0069754772fe73f6563003 vkbd.tar.gz
"