summaryrefslogtreecommitdiff
path: root/pcr/libcedrus-git/PKGBUILD
blob: bb8fb3d2daa5807427665983f9a6170114117952 (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 (Arch): Jens Kuske <jenskuske@gmail.com>
pkgname=libcedrus-git
pkgver=r6.9b243c4
pkgrel=1
pkgdesc="sunxi Video Engine library"
arch=('armv7h')
url="https://github.com/linux-sunxi/libcedrus"
license=('LGPL')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+https://github.com/linux-sunxi/${pkgname%-git}")
md5sums=('SKIP')

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

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

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