summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ec2de44b3e475efa4772a82fa8d514b6d0847834 (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
33
34
35
36
37
38
39
# Maintainer: Frederic Bezies <fredbezies @ gmail dot com>
pkgname=b-em-git
_pkgname=b-em
pkgver=r2007.5557a36
pkgrel=1
pkgdesc="BBC Micro emulator - git version"
arch=('x86_64')
url="http://b-em.bbcmicro.com/"
license=('GPL2')
depends=(allegro alsa-lib gcc-libs glibc jack zlib)
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=(!debug)
install=
source=(git+https://github.com/stardot/b-em.git)
noextract=()
sha256sums=('SKIP')

pkgver() {
  cd "$_pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}

build() {
  cd "$_pkgname"
  ./autogen.sh
  ./configure --prefix=/usr
   make
}

package() {
  cd "$_pkgname"
  make prefix="$pkgdir/usr/" install
}

# vim:set ts=2 sw=2 et: