diff options
author | Jorge Barroso | 2015-06-15 21:26:35 +0200 |
---|---|---|
committer | Jorge Barroso | 2015-06-15 21:26:35 +0200 |
commit | 4c37c0d2969dff0140cace8b4ec7c59eff0e8f79 (patch) | |
tree | e7e7d057c74194ffe31f1bdb187e4c5c15e65eef /PKGBUILD | |
download | aur-plymouth-theme-asphyxia-git.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9639fe6f01be --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Melvin Laplanche <melvin.laplanche+pkgbuild[at]gmail[dot]com> + +pkgname='plymouth-theme-asphyxia-git' +pkgver=20120923 +pkgrel=1 +pkgdesc='Plymouth theme featuring the famous asphyxia picture from starweaver' +arch=('any') +url='http://www.laplanche-melv.in' +license=('GPL') +depends=('plymouth') +makedepends=('git') +options=(!strip) + +_gitroot="git://github.com/Nivl/plymouth-theme-asphyxia.git" +_gitname="plymouth-theme-asphyxia" + +build() { + cd "$srcdir" + msg "Connecting to GIT server...." + + if [ -d $_gitname ] ; then + cd $_gitname && git pull origin + msg "The local files are updated." + else + git clone $_gitroot $_gitname + fi + + msg "GIT checkout done or server timeout" +} + + +package() { + cd "${srcdir}/${_gitname}/asphyxia" + install -m755 -d "${pkgdir}/usr/share/plymouth/themes/asphyxia" + install -m644 -t "${pkgdir}/usr/share/plymouth/themes/asphyxia" * +} |