diff options
author | Jaroslav Lichtblau | 2014-11-28 20:17:14 +0100 |
---|---|---|
committer | Jaroslav Lichtblau | 2014-11-28 20:17:14 +0100 |
commit | 77e6970a87a62616493dc68e62a6b0be4b2fce4f (patch) | |
tree | 96df5f4929d988c138bf5981ec98c5c99d7d1f76 | |
download | aur-77e6970a87a62616493dc68e62a6b0be4b2fce4f.tar.gz |
Initial PKGBUILD status as of 28.11.2014
-rw-r--r-- | .AURINFO | 13 | ||||
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 34 |
3 files changed, 61 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO new file mode 100644 index 000000000000..4c73b9d150a4 --- /dev/null +++ b/.AURINFO @@ -0,0 +1,13 @@ +pkgbase = ggmud + pkgdesc = GTK2 mud client inspired by tintin and sclient + pkgver = 0.8.0 + pkgrel = 3 + url = http://www.ggsoft.org/ggmud/ + arch = i686 + arch = x86_64 + license = GPL + depends = gtk2 + source = http://downloads.sourceforge.net/ggmud/GGMud-0.8.0-src.tar.gz + +pkgname = ggmud + diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..272e2a682be9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = ggmud + pkgdesc = GTK2 mud client inspired by tintin and sclient + pkgver = 0.8.0 + pkgrel = 3 + url = http://www.ggsoft.org/ggmud/ + arch = i686 + arch = x86_64 + license = GPL + depends = gtk2 + source = http://downloads.sourceforge.net/ggmud/GGMud-0.8.0-src.tar.gz + sha256sums = e7ad1e242a26f4e503c63375025c4581215afb7702b572e1fbcc99fd2b7a10bb + +pkgname = ggmud + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fb9f4daf86b1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Jaroslav Lichtblau <dragonlor@aur.archlinux.org> + +pkgname=ggmud +pkgver=0.8.0 +pkgrel=3 +pkgdesc="GTK2 mud client inspired by tintin and sclient" +arch=('i686' 'x86_64') +url="http://www.ggsoft.org/ggmud/" +license=('GPL') +depends=('gtk2') +source=(http://downloads.sourceforge.net/$pkgname/GGMud-$pkgver-src.tar.gz) +sha256sums=('e7ad1e242a26f4e503c63375025c4581215afb7702b572e1fbcc99fd2b7a10bb') + +build() { + cd "${srcdir}"/$pkgname-$pkgver + + sed -i s/COMMONLIBS\ =\ -Ltt\ -ltt\ -Llua\ -llua\ -Lzlib\ -lzlib/COMMONLIBS\ =\ -Ltt\ -ltt\ -Llua\ -llua\ -Lzlib\ -lzlib\ -lm\ -ldl/ Makefile + sed -i s/--as-needed// Makefile + + make CC="gcc $CFLAGS" +} + +package() { + cd "${srcdir}"/$pkgname-$pkgver + + install -D -m755 "$pkgname" "${pkgdir}"/usr/bin/$pkgname + install -D -m644 "gg_help.txt" "${pkgdir}"/usr/share/$pkgname/gg_help.txt + +#.desktop + icon file + install -D -m644 "${srcdir}"/$pkgname-$pkgver/$pkgname.desktop \ + "${pkgdir}"/usr/share/applications/$pkgname.desktop + install -D -m644 "${srcdir}"/$pkgname-$pkgver/$pkgname.png \ + "${pkgdir}"/usr/share/pixmaps/$pkgname.png +} |