diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..beb457980222 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Nicolas Guillaumin <nicolas plus archlinux at guillaumin dot me> +_realpkgname=STYMulator +pkgname=stymulator +pkgver=0.21a +pkgrel=1 +pkgdesc="STYMulator is an Open Source (GPL License) player which plays music files in the YM chiptune format." +arch=('x86_64') +url="http://atariarea.krap.pl/stymulator/" +license=('GPL2') +depends=("alsa-lib" "ncurses") +changelog=$pkgname.changelog +source=("http://atariarea.krap.pl/stymulator/files/$_realpkgname-$pkgver.tar.gz") +md5sums=("e6ab8164dfac0300bb91a82f6e704841") + +prepare() { + cd "$_realpkgname-$pkgver/src" + + # Patch Makefile to remove hardcoded /usr/bin installation directory + sed -i "s/\/usr\/bin$/\$(DESTDIR)/g" Makefile + cat Makefile +} + +build() { + cd "$_realpkgname-$pkgver/src" + make +} + +package() { + cd "$_realpkgname-$pkgver/src" + make DESTDIR="$pkgdir/" install +} |