updated on Thu Jan 5 13:17:10 UTC 2012
[aur-mirror.git] / xearth / PKGBUILD
blob70f7c887c2820bb80f8574297a086c0cfc379823
1 # Contributor: MIZUNO J. Y. <http://p.mjy.name/pkg:xearth>
3 pkgname=xearth
4 pkgver=1.1
5 pkgrel=1
6 pkgdesc="sets the X root window to an image of the Earth"
7 url='http://xearth.org/'
8 arch=('i686')
9 license=('custom:xearth')
10 #depends=('libxt' 'libx11' 'glibc' 'libsm' 'libice' 'libxcb'\
11 #         'libxau' 'libxdmcp')
12 depends=('libxt' 'glibc')
13 makedepends=
14 source=('http://p.mjy.name/local--files/pkg:xearth/xearth-1.1.tar.gz' 'LICENSE')
15 md5sums=('e59b7eb48680c87b904a4af638e23bef' \
16          'a1c771420c821c601629eed256970fd5')
18 build() {
19     cd "$srcdir/$pkgname-$pkgver"
20     make -f Makefile.DIST || return 1
21     gzip --stdout xearth.man >xearth.1.gz
22     install -D --strip xearth "$pkgdir/usr/bin/xearth" || return 1
23     install -D --mode ugo=r,u+w xearth.1.gz \
24         "$pkgdir/usr/share/man/man1/xearth.1.gz"
25     install -D --mode ugo=r,u+w \
26         "$startdir/LICENSE" \
27         "$pkgdir/usr/share/licenses/$pkgname/LICENSE"