aboutsummaryrefslogtreecommitdiffstats
path: root/community/frotz/APKBUILD
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2020-07-18 23:20:18 +0300
committerLeo <thinkabit.ukim@gmail.com>2020-07-19 03:45:21 +0000
commit834412e41b6c321b8c7223c57ad1b9865ca03703 (patch)
tree925dafcef0573dbb1f578c2ae23bfba007be472e /community/frotz/APKBUILD
parent508de7539866f96eb05d3e918d66fe313b1c6101 (diff)
downloadaports-834412e41b6c321b8c7223c57ad1b9865ca03703.tar.gz
aports-834412e41b6c321b8c7223c57ad1b9865ca03703.tar.bz2
aports-834412e41b6c321b8c7223c57ad1b9865ca03703.tar.xz
community/frotz: upgrade to 2.52
* Update source url to new upstream. * Remove uneeded patch and use our own CFLAGS.
Diffstat (limited to 'community/frotz/APKBUILD')
-rw-r--r--community/frotz/APKBUILD26
1 files changed, 13 insertions, 13 deletions
diff --git a/community/frotz/APKBUILD b/community/frotz/APKBUILD
index 84ef7be19c..6852182a59 100644
--- a/community/frotz/APKBUILD
+++ b/community/frotz/APKBUILD
@@ -1,29 +1,29 @@
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=frotz
-pkgver=2.44
-pkgrel=1
+pkgver=2.52
+pkgrel=0
pkgdesc="Portable Z-Machine Interpreter"
url="http://frotz.sourceforge.net/"
arch="all"
license="GPL-2.0-or-later"
-makedepends="ncurses-dev"
+makedepends="libao-dev libmodplug-dev libsamplerate-dev libsndfile-dev
+ ncurses-dev"
subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/DavidGriffith/frotz/archive/$pkgver.tar.gz
- Makefile.patch
- "
+source="https://gitlab.com/DavidGriffith/frotz/-/archive/$pkgver/frotz-$pkgver.tar.bz2"
+
+prepare() {
+ default_prepare
+ # use our cflags
+ sed -i 's/^CFLAGS +=/CFLAGS ?=/g' Makefile
+}
build() {
make
}
package() {
- strip $pkgname
- install -m755 -d "$pkgdir/usr/bin"
- install -m755 -d "$pkgdir/usr/share/man/man6"
- install -m755 $pkgname "$pkgdir/usr/bin/"
- install -m644 doc/$pkgname.6 $pkgdir/usr/share/man/man6/$pkgname.6
+ make DESTDIR="$pkgdir" PREFIX=/usr install
}
-sha512sums="20b2c8948f093463c53498b322230881aa1ad9c8fd68a338b4f5c4803ab28007fc8ba63f6d20f2b4d440fd04138709b9f4f103c9f8a71788e80156ccdff9ce1f frotz-2.44.tar.gz
-50bd0db62eb09bb316dbab106d2bba0ad389e151fefbc587dbd15faf238b559276ce9d603333d5da8760623d014e2587609b96401e616f22062cb0a6aaa2f346 Makefile.patch"
+sha512sums="387e7a7fe0cffd40b639a306eef89a22421a4ff4a8e5dbcf96a1ef3b901744b3f75a671953ecdc17bde0d699e4756d470b61c8213c47315baa2700da92d06710 frotz-2.52.tar.bz2"