summaryrefslogtreecommitdiff
path: root/pcr/libcedrus-git/PKGBUILD
blob: aece47d07d17bf0525c1e7b25f7dd6450a412faf (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
# Maintainer (AUR): Jens Kuske <jenskuske@gmail.com>

# parabola changes and rationale:
#  no changes.

pkgname=libcedrus-git
pkgver=9b243c4
pkgrel=1
pkgdesc="sunxi Video Engine library"
arch=('armv7h')
url="https://github.com/linux-sunxi/libcedrus"
license=('LGPL')
depends=()
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+https://github.com/linux-sunxi/${pkgname%-git}")
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-git}"
	printf "%s" "$(git describe --tags --long --always | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g')"
}

build() {
	cd "$srcdir/${pkgname%-git}"
	make
}

package() {
	cd "$srcdir/${pkgname%-git}"
	make DESTDIR="$pkgdir/" prefix="/usr" install
}