updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / fbsplash-theme-natural-arch / PKGBUILD
blobe3a90acb6988a95006414464faa160629de1f991
1 # $Id:$
2 # Contributor: Balwinder S "bsd" Dheeman (bdheeman AT gmail.com)
4 pkgname=fbsplash-theme-natural-arch
5 _thmname=${pkgname#fbsplash\-theme\-}
6 pkgver=1.0.0
7 pkgrel=2
8 pkgdesc="An fbsplash theme with natural-arch logo"
9 arch=('i686' 'x86_64')
10 license=('CCPL:cc-by-nc-sa')
11 url='http://OpenDesktop.org/content/show.php?content=118457'
12 depends=('fbsplash')
13 makedepends=('inkscape')
14 source=(http://OpenDesktop.org/CONTENT/content-files/118457-natural-arch.tar.gz)
15 install=fbsplash-theme.install
17 build() {
18     if [ -d /etc/fbsplash ]; then
19         _splashdir="fbsplash"
20     else
21         _splashdir="splash"
22     fi
24     mkdir -p "${pkgdir}/etc/${_splashdir}"
25     cp -a "${srcdir}/${_thmname}" "${pkgdir}/etc/${_splashdir}/${_thmname}"
27     # make install script nice...
28     sed -i "s/add '.*' to/add '${_thmname}' to/" $startdir/$install
31 # vim:set ts=4 sw=4 et:
32 md5sums=('f871f019fc90b63f940af4a23b0bf7d4')