blob: 45f9ea923a5b34f9fd475832e972c525a2f1cc7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Daniel Menelkir <dmenelkir at gmail dot com>
pkgname=libspectrum-git
pkgver=1.5.0.r29.ge85c934
pkgrel=1
epoch=1
pkgdesc="ZX Spectrum emulator support library."
arch=('i686' 'x86_64')
url="http://fuse-emulator.sourceforge.net/libspectrum.php"
license=("GPL")
conflicts=("libspectrum")
depends=('libgcrypt' 'glib2' 'audiofile')
source=("libspectrum::git+https://git.code.sf.net/p/fuse-emulator/libspectrum")
md5sums=('SKIP')
pkgver() {
cd "$srcdir"/libspectrum
git describe --long --abbrev=7 | sed 's/^libspectrum-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir"/libspectrum
./autogen.sh
./configure --prefix=/usr --disable-static
make
}
package() {
cd "$srcdir"/libspectrum
make DESTDIR="$pkgdir" install
}
|