summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e4f92b06b067c8e3e8484082074465cac9ba0812 (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
# Contributor: royrocks <royrocks13@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=tuxpaint-stamps-git
pkgver=1620.97c9e761e
pkgrel=1
arch=('any')
pkgdesc="Additional stamps for Tux Paint, git-version"
url="http://www.newbreedsoftware.com/tuxpaint/"
license=('GPL')
provides=('tuxpaint-stamps')
conflicts=('tuxpaint-stamps')
makedepends=('git')
source=("git+https://git.code.sf.net/p/tuxpaint/tuxpaint-stamps")
md5sums=('SKIP')

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

build() {
  cd "${pkgname%-git}"
  make PREFIX=/usr
}

package() {
  cd "${pkgname%-git}"
  make DATA_PREFIX=$pkgdir/usr/share/tuxpaint/ install-all
}