diff options
author | Simon Perry (Pezz) | 2019-06-25 12:28:42 +1000 |
---|---|---|
committer | Simon Perry (Pezz) | 2019-06-25 12:28:42 +1000 |
commit | 9a9732a00cc7addbe161903769ed3fa6ff496647 (patch) | |
tree | b6af0274a0dc763a61f768a86576d0fd16207376 | |
download | aur-9a9732a00cc7addbe161903769ed3fa6ff496647.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 36 | ||||
-rw-r--r-- | PKGBUILD | 38 | ||||
-rw-r--r-- | axmud.desktop | 7 |
3 files changed, 81 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a30d082ba638 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,36 @@ +pkgbase = axmud + pkgdesc = GTK3 Multi-User Dungeon (MUD) client + pkgver = 1.2.0 + pkgrel = 1 + url = https://axmud.sourceforge.io/ + arch = any + license = GPL3 + license = LGPL3 + depends = glib2 + depends = gtk3 + depends = wmctrl + depends = perl-archive-extract + depends = perl-archive-zip + depends = perl-file-copy-recursive + depends = perl-file-homedir + depends = perl-file-sharedir + depends = perl-file-sharedir-install + depends = perl-goocanvas2 + depends = perl-gtk3 + depends = perl-io-socket-inet6 + depends = perl-io-socket-ssl + depends = perl-ipc-run + depends = perl-json + depends = perl-net-openssh + depends = perl-path-tiny + depends = perl-regexp-ipv6 + depends = perl-x11-wmctrl + optdepends = sox + optdepends = timidity++ + source = axmud-1.2.0.tar.gz::https://downloads.sourceforge.net/project/axmud/Axmud-1.2.0/Games-Axmud-1.2.0.tar.gz + source = axmud.desktop + sha256sums = bc0f7cece3c28f9b5dc79b2c9bb1fcb5377962331c1320c6f12e5c5b43a85da9 + sha256sums = ff608e34d1da13eddaf8be64880a24ad204f710a081410188b25be8b2dcd89dd + +pkgname = axmud + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4b4468b48b45 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Simon Perry <aur [at] sanxion [dot] net> +pkgname=axmud +_relname="Axmud" +_relpkg="Games-$_relname" +pkgver=1.2.0 +pkgrel=1 +pkgdesc="GTK3 Multi-User Dungeon (MUD) client" +arch=('any') +url="https://axmud.sourceforge.io/" +license=('GPL3' 'LGPL3') +depends=('glib2' 'gtk3' 'wmctrl' 'perl-archive-extract' 'perl-archive-zip' 'perl-file-copy-recursive' 'perl-file-homedir' 'perl-file-sharedir' 'perl-file-sharedir-install' 'perl-goocanvas2' 'perl-gtk3' 'perl-io-socket-inet6' 'perl-io-socket-ssl' 'perl-ipc-run' 'perl-json' 'perl-net-openssh' 'perl-path-tiny' 'perl-regexp-ipv6' 'perl-x11-wmctrl') +optdepends=('sox' 'timidity++') +source=("$pkgname-$pkgver.tar.gz::https://downloads.sourceforge.net/project/$pkgname/$_relname-$pkgver/$_relpkg-$pkgver.tar.gz" axmud.desktop) + +sha256sums=('bc0f7cece3c28f9b5dc79b2c9bb1fcb5377962331c1320c6f12e5c5b43a85da9' + 'ff608e34d1da13eddaf8be64880a24ad204f710a081410188b25be8b2dcd89dd') + +build() { + cd "$srcdir/$_relpkg-$pkgver" + + perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir/$_relpkg-$pkgver" + make DESTDIR=${pkgdir} install + + install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" + install -Dm644 "$srcdir/$_relpkg-$pkgver/share/icons/system/dialogue_icon_large.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" + install -Dm644 "$srcdir/$_relpkg-$pkgver/COPYING" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 "$srcdir/$_relpkg-$pkgver/COPYING.LESSER" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.LESSER" + + # Remove .packlist and perllocal.pod files + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name 'perllocal.pod' -delete +} +# vim: ts=2 sw=2 et: diff --git a/axmud.desktop b/axmud.desktop new file mode 100644 index 000000000000..ee5297c81ba8 --- /dev/null +++ b/axmud.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Axmud +Comment=Axmud MUD Client +Exec=axmud.pl +Type=Application +Icon=axmud.png +Terminal=false |