summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 65c597dec837198454c2398c06d22e78a309394f (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
# Maintainer: Daniel Menelkir <dmenelkir at gmail dot com>

pkgname=libspectrum-git
pkgver=1.6.0.1ec4c7
pkgrel=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')

build() {
  cd "$srcdir"/libspectrum
  ./autogen.sh
  ./configure --prefix=/usr --disable-static
  make
}

package() {
  cd "$srcdir"/libspectrum
  make DESTDIR="$pkgdir" install
}