summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e90bfdb865012c519fa3fef910a48fe751eae2fc (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
# Maintainer: TwoLeaves <ohneherren@gmail.com>
pkgname=sam
pkgver=r44.78f363d
pkgrel=1
pkgdesc="Sam is an adaption to C of the speech software SAM (Software Automatic Mouth) for the Commodore C64."
url="http://simulationcorner.net/index.php?page=sam"
arch=('x86_64' 'i686')
license=('unknown')
makedepends=('git')
source=('SAM::git+http://github.com/s-macke/SAM/#branch=master')
md5sums=('SKIP')

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

build() {
  cd "${srcdir}/SAM"
  make
}

package() {
  cd "${srcdir}/SAM"
  install -D -m755 sam "${pkgdir}"/usr/bin/sam
}

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