updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / ggmud / PKGBUILD
blob1e3b8d3aa0006f2a0585447d357899ce4c319df1
1 # Contributor: Jaroslav Lichtblau <tu@dragonlord.cz>
3 pkgname=ggmud
4 pkgver=0.8.0
5 pkgrel=2
6 pkgdesc="GTK2 mud client inspired by tintin and sclient."
7 arch=('i686' 'x86_64')
8 url="http://www.ggsoft.org/ggmud/"
9 license=('GPL')
10 depends=('gtk2')
11 source=(http://downloads.sourceforge.net/$pkgname/GGMud-$pkgver-src.tar.gz)
13 md5sums=('49c8ae784d5b5e61abda1db8f532da15')
15 build() {
16   cd "${srcdir}/$pkgname-$pkgver"
18   make CC="gcc $CFLAGS"
19   install -D -m755 "$pkgname" "${pkgdir}/usr/bin/$pkgname" || return 1
20   install -D -m644 "gg_help.txt" "${pkgdir}/usr/share/$pkgname/gg_help.txt" || return 1
22 #.desktop + icon file
23   install -D -m644 "${srcdir}/$pkgname-$pkgver/$pkgname.desktop" \
24     "${pkgdir}/usr/share/applications/$pkgname.desktop" || return 1
25   install -D -m644 "${srcdir}/$pkgname-$pkgver/$pkgname.png" \
26     "${pkgdir}/usr/share/pixmaps/$pkgname.png" || return 1