diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 11 insertions, 6 deletions
@@ -1,5 +1,5 @@ pkgbase = eviltris - pkgdesc = A tetris like game, but the 'random' order of piece selection is different than the standard 'random' number generator method. + pkgdesc = A tetris like game, but the 'random' order of piece selection is different than the standard 'random' number generator method pkgver = 0.7 pkgrel = 1 url = http://sourceforge.net/projects/eviltris @@ -1,9 +1,9 @@ -# Contributor: Jaroslav Lichtblau <tu@dragonlord.cz> +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> pkgname=eviltris pkgver=0.7 pkgrel=1 -pkgdesc="A tetris like game, but the 'random' order of piece selection is different than the standard 'random' number generator method." +pkgdesc="A tetris like game, but the 'random' order of piece selection is different than the standard 'random' number generator method" arch=('i686' 'x86_64') url="http://sourceforge.net/projects/eviltris" license=('GPL') @@ -12,8 +12,13 @@ source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) md5sums=('d824425e19836dd2ae95c99268614d83') build() { - cd "${srcdir}/$pkgname-$pkgver" + cd "${srcdir}"/$pkgname-$pkgver - make || return 1 - install -D -m755 "${srcdir}/$pkgname-$pkgver/$pkgname" "${pkgdir}/usr/bin/$pkgname" || return 1 + make } + +package() { + cd "${srcdir}"/$pkgname-$pkgver + + install -Dm755 $pkgname "${pkgdir}"/usr/bin/$pkgname +}
\ No newline at end of file |