summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dc317c9755b02028ce611fdf058ab914ae99169f (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
# Maintainer: piernov <piernov@piernov.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Franco Iacomella <yaco@gnu.org>

pkgname=etl-git
pkgver=r8165.bd7d8b2cc
pkgrel=1
pkgdesc="VoriaETL: C++ STL complementory multiplatform template library"
arch=(any)
url="http://synfig.org"
license=('GPL2')
depends=()
conflicts=('synfig-etl' 'etl')
replaces=('synfig-etl')
provides=('etl')
source=(git+https://github.com/synfig/synfig)
md5sums=('SKIP')

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

prepare() {
  cd "$srcdir"/synfig/ETL
  autoreconf -fi
}

build() {
  cd "$srcdir"/synfig/ETL
  ./configure --prefix=/usr
  make
}

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