diff options
author | Daichi Shinozaki | 2015-06-09 18:14:53 +0900 |
---|---|---|
committer | Daichi Shinozaki | 2015-06-09 18:14:53 +0900 |
commit | 23186d7dce0c182de0841235e23d500b221c864e (patch) | |
tree | eb39497da908c571a6f181ca8e0a0732c0451f88 /PKGBUILD | |
download | aur-fbsplash-theme-natural-arch.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2f811f8bf775 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor: Balwinder S "bsd" Dheeman (bdheeman AT gmail.com) + +pkgname=fbsplash-theme-natural-arch +_thmname=${pkgname#fbsplash\-theme\-} +pkgver=1.0.0 +pkgrel=3 +pkgdesc="An fbsplash theme with natural-arch logo" +arch=(any) +license=('CCPL:cc-by-nc-sa') +url='http://OpenDesktop.org/content/show.php?content=118457' +depends=('fbsplash') +source=(http://OpenDesktop.org/CONTENT/content-files/118457-natural-arch.tar.gz) +install=fbsplash-theme.install + +package() { + if [ -d /etc/fbsplash ]; then + _splashdir="fbsplash" + else + _splashdir="splash" + fi + + mkdir -p "${pkgdir}/etc/${_splashdir}" + cp -a "${srcdir}/${_thmname}" "${pkgdir}/etc/${_splashdir}/${_thmname}" + + # make install script nice... + sed -i "s/add '.*' to/add '${_thmname}' to/" $startdir/$install +} + +# vim:set ts=4 sw=4 et: +md5sums=('f871f019fc90b63f940af4a23b0bf7d4') |