diff options
author | Yury Kurlykov | 2018-10-31 19:17:03 +1000 |
---|---|---|
committer | Yury Kurlykov | 2018-10-31 19:19:27 +1000 |
commit | 1910e62d991c363fd29392343b0621390a816d19 (patch) | |
tree | dc1c975c11e962e496d46f594a2d5033db62c0d6 /PKGBUILD | |
download | aur-1910e62d991c363fd29392343b0621390a816d19.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..049147d3c93b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Yury Kurlykov <kurlykster@mail.ru> +pkgname='bootsplash-theme-bgrt' +pkgver=0.1 +pkgrel=1 +pkgdesc="BGRT bootsplash theme" +url="https://lists.freedesktop.org/archives/dri-devel/2017-December/160242.html" +arch=('x86_64') +license=('GPL') + +optdepends=('bootsplash-systemd: for bootsplash functionality') +makedepends=('imagemagick') +options=('!libtool' '!emptydirs') + +source=('bootsplash-packer' + 'bootsplash-bgrt.sh' + 'bootsplash-bgrt.initcpio_install' + 'spinner.gif') + +sha256sums=('SKIP' + 'SKIP' + 'SKIP' + 'SKIP') + +prepare() { + echo "Checking for BGRT..." + if [ ! -f "/sys/firmware/acpi/bgrt/version" ] + then + echo "BGRT not found, aborting..." + exit 1 + fi +} + +build() { + cd "$srcdir" + sh ./bootsplash-bgrt.sh +} + +package() { + cd "$srcdir" + install -Dm644 "$srcdir/bootsplash-bgrt" "$pkgdir/usr/lib/firmware/bootsplash-themes/bgrt/bootsplash" + install -Dm644 "$srcdir/bootsplash-bgrt.initcpio_install" "$pkgdir/usr/lib/initcpio/install/bootsplash-bgrt" +} |