diff options
author | Florian Pelz | 2017-04-12 12:17:17 +0200 |
---|---|---|
committer | Florian Pelz | 2017-04-12 12:17:17 +0200 |
commit | 4b2b769aba6969c5ae121d8d65c132dd3421ab78 (patch) | |
tree | 910bb63b345275c84ea9ec5145da8234ca438430 | |
download | aur-4b2b769aba6969c5ae121d8d65c132dd3421ab78.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e1daec7c6638 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = dont-hang + pkgdesc = Simple GTK+ hangman game + pkgver = 1.0 + pkgrel = 1 + url = https://pelzflorian.de/git/dont-hang/ + arch = i686 + arch = x86_64 + license = custom:PublicDomain + depends = gtk3 + optdepends = words: default word list + source = https://pelzflorian.de/dont-hang-1.0.tar.gz + sha512sums = 1e297cfe6f638e2d19664c4b02ee6c5fdbe26d39755a2297ef4c2ebbe9f28e76727d34d7d31a4e67790b0cb9878143a9ab79c1141215d0359bd548a6fc7775d1 + +pkgname = dont-hang + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d8fa75b8803d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Florian Pelz <pelzflorian at pelzflorian.de> +pkgname=dont-hang +pkgver=1.0 +pkgrel=1 +pkgdesc="Simple GTK+ hangman game" +arch=('i686' 'x86_64') +url="https://pelzflorian.de/git/dont-hang/" +license=('custom:PublicDomain') +depends=('gtk3') +optdepends=('words: default word list') +source=("https://pelzflorian.de/${pkgname}-${pkgver}.tar.gz") +sha512sums=('1e297cfe6f638e2d19664c4b02ee6c5fdbe26d39755a2297ef4c2ebbe9f28e76727d34d7d31a4e67790b0cb9878143a9ab79c1141215d0359bd548a6fc7775d1') + +build() { + cd "$pkgname"-"$pkgver" + ./configure --prefix=/usr + make +} + +check() { + cd "$pkgname"-"$pkgver" + make check +} + +package() { + cd "$srcdir"/"$pkgname"-"$pkgver" + make DESTDIR="$pkgdir/" install + install -D -m644 "COPYING" "$pkgdir"/usr/share/licenses/"$pkgname"/COPYING +} |