diff options
author | Alexander F. Rødseth | 2018-12-05 13:51:02 +0100 |
---|---|---|
committer | Alexander F. Rødseth | 2018-12-05 13:51:02 +0100 |
commit | 70805da3227163e4d235cbf4e8edb6711035b8e3 (patch) | |
tree | 12f6f214b63dad00aa614ad6a54f84ba6a399ca2 | |
parent | 491c2a27a69e7b9948ffb4c84aa68eb626b56aca (diff) | |
download | aur-70805da3227163e4d235cbf4e8edb6711035b8e3.tar.gz |
Minor changes
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 12 insertions, 18 deletions
@@ -1,16 +1,14 @@ # Generated by mksrcinfo v8 -# Wed Sep 7 08:27:20 UTC 2016 +# Wed Dec 5 12:50:54 UTC 2018 pkgbase = ghextris pkgdesc = Tetris-like game on a hexagonal grid pkgver = 0.9.0 - pkgrel = 5 + pkgrel = 6 url = http://mjr.iki.fi/software/ghextris arch = x86_64 - arch = i686 license = GPL makedepends = gettext makedepends = setconf - makedepends = xorg-xdpyinfo depends = gnome-python source = http://mjr.iki.fi/software/ghextris_0.9.0-1.tar.gz sha256sums = cd67776a35561879407208a5ecd201a23fcd5726a4962eaba1e25219c44c4cd6 @@ -1,16 +1,17 @@ -# Maintainer: Alexander F Rødseth <xyproto@archlinux.org> +# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org> # Contributor: Arkham <arkham@archlinux.us> # Contributor: brix <blbennett@telus.net> pkgname=ghextris pkgver=0.9.0 -pkgrel=5 +pkgrel=6 pkgdesc='Tetris-like game on a hexagonal grid' -arch=('x86_64' 'i686') +arch=('x86_64') +# the https certificate is invalid url='http://mjr.iki.fi/software/ghextris' license=('GPL') depends=('gnome-python') -makedepends=('gettext' 'setconf' 'xorg-xdpyinfo') +makedepends=('gettext' 'setconf') source=("http://mjr.iki.fi/software/${pkgname}_$pkgver-1.tar.gz") sha256sums=('cd67776a35561879407208a5ecd201a23fcd5726a4962eaba1e25219c44c4cd6') @@ -21,22 +22,17 @@ prepare() { setconf install.sh SHAREDIR '"$PREFIX/share/ghextris"' setconf install.sh REALSHAREDIR '"$REALPREFIX/share/ghextris"' - sed -i -e 's:share/games:share:' install.sh - sed -i -e 's:python2.3:python2:' -e 's:whrandom:random:g' "$pkgname.py" + sed -i -e 's,share/games,share,' install.sh + sed -i -e 's,python2.3,python2,;s,whrandom,random,g' "$pkgname.py" # Adjust the image sizes for DPI > 96 - DPI=$(xdpyinfo | grep resolution | head -1 | cut -d"x" -f2 | cut -d" " -f1) - if (( DPI > 96 )); then - sed -i 's/24/48/' ghextris.py - sed -i 's/26/52/' ghextris.py - sed -i 's/14/28/' ghextris.py - fi + sed -i 's/24/48/;s/26/52/;s/14/28/' ghextris.py } package() { cd "$pkgname-$pkgver" - + ./install.sh "$pkgdir/usr" /usr > install.log } -# vim:set ts=2 sw=2 et: +# vim: ts=2 sw=2 et: |