diff options
author | Alexander F. Rødseth | 2022-11-04 04:26:02 +0100 |
---|---|---|
committer | Alexander F. Rødseth | 2022-11-04 04:26:02 +0100 |
commit | 16063b3c303be2f7016efc0c8ed85f526425110f (patch) | |
tree | c4f0ccd93e1ac44346248c05ece69dc17a3decd3 | |
parent | 982d1cdf9cc7bba935569f4fbb567bbd73eddb6d (diff) | |
download | aur-16063b3c303be2f7016efc0c8ed85f526425110f.tar.gz |
Depend on pypy
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 8 insertions, 13 deletions
@@ -1,16 +1,13 @@ -# Generated by mksrcinfo v8 -# Thu Sep 5 08:50:34 UTC 2019 pkgbase = monkeyjump pkgdesc = Minimalistic GUI for playing Go with GnuGo and other GTP applications pkgver = 0.5 - pkgrel = 3 + pkgrel = 4 url = https://github.com/xyproto/monkeyjump arch = any license = GPL2 makedepends = gendesk - makedepends = python2-setuptools makedepends = setconf - depends = python2-pygame + depends = pypy depends = gnugo backup = etc/monkeyjump/gnugocmd.conf backup = etc/monkeyjump/theme.conf @@ -19,4 +16,3 @@ pkgbase = monkeyjump md5sums = SKIP pkgname = monkeyjump - @@ -2,19 +2,19 @@ pkgname=monkeyjump pkgver=0.5 -pkgrel=3 +pkgrel=4 pkgdesc='Minimalistic GUI for playing Go with GnuGo and other GTP applications' arch=(any) url='https://github.com/xyproto/monkeyjump' license=(GPL2) -depends=(python2-pygame gnugo) -makedepends=(gendesk python2-setuptools setconf) +depends=(pypy gnugo) +makedepends=(gendesk setconf) backup=(etc/monkeyjump/gnugocmd.conf etc/monkeyjump/theme.conf etc/monkeyjump/keybindings.conf) source=("git+$url#commit=a6fcea4e0f03c09a47b0117567893d0fe882b2a8") md5sums=('SKIP') prepare() { - cd "$pkgname" + cd $pkgname gendesk -f -n \ --pkgname="$pkgname" \ @@ -24,12 +24,13 @@ prepare() { --terminal=true setconf monkeyjump CONFDIR=\"/etc/monkeyjump\" setconf monkeyjump THEMEDIR=\"/usr/share/monkeyjump/themes\" + sed -i 's/env python2/env pypy/g' $pkgname } package() { cd "$pkgname" - python2 setup.py install --root="$pkgdir" --optimize=1 + pypy setup.py install --root="$pkgdir" --optimize=1 # Executable install -Dm755 monkeyjump "$pkgdir/usr/bin/monkeyjump" @@ -48,5 +49,3 @@ package() { install -Dm644 "dotimages/$pkgname.png" \ "$pkgdir/usr/share/pixmaps/$pkgname.png" } - -# vim: ts=2 sw=2 et: |