archrelease: copy trunk to staging-x86_64
[arch-packages.git] / shared-color-targets / trunk / PKGBUILD
blobb10e23d3094edd5bfd42b2b13fb03e33d7f86e68
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
4 pkgname=shared-color-targets
5 pkgver=0.1.7
6 pkgrel=4
7 pkgdesc="Shared color targets for creating color profiles"
8 url="https://github.com/hughsie/shared-color-targets"
9 arch=(any)
10 license=(GPL CCPL:by-sa)
11 makedepends=(git)
12 _commit=b6ea84551a9d51f3b07de9a2863b113ec8dc7303  # tags/SHARED_COLOR_TARGETS_0_1_7^0
13 source=("git+https://github.com/hughsie/shared-color-targets#commit=$_commit")
14 sha256sums=('SKIP')
16 pkgver() {
17   cd $pkgname
18   git describe --tags | sed 's/^SHARED_COLOR_TARGETS_//;s/_/./g;s/[^-]*-g/r&/;s/-/+/g'
21 prepare() {
22   cd $pkgname
23   NOCONFIGURE=1 ./autogen.sh
26 build() {
27   cd $pkgname
28   ./configure --prefix=/usr
29   make
32 check() {
33   make -C $pkgname check
36 package() {
37   cd $pkgname
38   make DESTDIR="$pkgdir" install
41 # vim:set sw=2 sts=-1 et: