From cf973255beedb68d6c42e48240a95c7e9b263a01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Wed, 22 Jun 2016 19:41:42 +0200 Subject: [PATCH] Package clean-up --- .SRCINFO | 11 +++++++---- PKGBUILD | 21 +++++++++++---------- plymouth-theme-arch-logo.install | 12 ++++++++++++ 3 files changed, 30 insertions(+), 14 deletions(-) create mode 100644 plymouth-theme-arch-logo.install diff --git a/.SRCINFO b/.SRCINFO index c91c2e2..83b905c 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,12 +1,15 @@ +# Generated by mksrcinfo v8 +# Wed Jun 22 17:41:42 UTC 2016 pkgbase = plymouth-theme-arch-logo - pkgdesc = Arch-logo is a remake of ubuntu-logo plymouth + pkgdesc = A remake of the ubuntu-logo Plymouth theme, based on the debian-logo theme, but featuring the Arch Linux logo. pkgver = 0.1 - pkgrel = 3 - url = http://gnome-look.org/content/show.php/Arch-logo+plymouth?content=141697 + pkgrel = 4 + url = http://arch-stuff.org/content/show.php/Arch-logo+plymouth?content=141696 + install = plymouth-theme-arch-logo.install arch = any license = GPL depends = plymouth - source = http://gnome-look.org/CONTENT/content-files/141697-Arch-logo-plymouth.tar.gz + source = http://arch-stuff.org/CONTENT/content-files/141696-Arch-logo-plymouth.tar.gz sha256sums = 553ab3efd51abefc50c10b521c24183df9ef879d080a75c54fb1c1512fbc94e6 pkgname = plymouth-theme-arch-logo diff --git a/PKGBUILD b/PKGBUILD index 910fa19..75746ed 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,21 +1,22 @@ -# Maintainer: Guillermo Garcia +# Maintainer: Manuel Hüsers # Contributor: Manuel Hüsers # Contributor: Guillermo Garcia -pkgname="plymouth-theme-arch-logo" +pkgname=plymouth-theme-arch-logo pkgver=0.1 -pkgrel=3 -url="http://gnome-look.org/content/show.php/Arch-logo+plymouth?content=141697" -pkgdesc="Arch-logo is a remake of ubuntu-logo plymouth" +pkgrel=4 +pkgdesc='A remake of the ubuntu-logo Plymouth theme, based on the debian-logo theme, but featuring the Arch Linux logo.' arch=('any') +url='http://arch-stuff.org/content/show.php/Arch-logo+plymouth?content=141696' license=('GPL') depends=('plymouth') -source=("http://gnome-look.org/CONTENT/content-files/141697-Arch-logo-plymouth.tar.gz") +install="${pkgname}.install" +source=('http://arch-stuff.org/CONTENT/content-files/141696-Arch-logo-plymouth.tar.gz') sha256sums=('553ab3efd51abefc50c10b521c24183df9ef879d080a75c54fb1c1512fbc94e6') package() { - cd $srcdir/arch-logo - mkdir -p $pkgdir/usr/share/plymouth/themes/arch-logo - install -Dm644 * $pkgdir/usr/share/plymouth/themes/arch-logo - install -Dm644 ../arch-logo.png $pkgdir/usr/share/plymouth/themes/arch-logo.png + cd "${srcdir}/arch-logo" + rm -fv *~ + mkdir -p "${pkgdir}/usr/share/plymouth/themes/arch-logo" + install -Dvm644 * "${pkgdir}/usr/share/plymouth/themes/arch-logo" } diff --git a/plymouth-theme-arch-logo.install b/plymouth-theme-arch-logo.install new file mode 100644 index 0000000..3809d4a --- /dev/null +++ b/plymouth-theme-arch-logo.install @@ -0,0 +1,12 @@ +post_install() { + cat < To activate the theme, run: +==> plymouth-set-default-theme -R arch-logo + +EOF +} + +post_upgrade() { + post_install $1 +}