summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 79ceaabe04c979735e15f77f59a48449a5dfff06 (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
# Maintainer: Simon Doppler (dopsi) <dop.simon@gmail.com>
pkgname=libdop-git
pkgver=r2.09cc0d7
pkgrel=1
pkgdesc='Utilities library'
arch=('x86' 'x86_64')
url='http://github.com/dopsi/libdop'
license=('GPL')
provides=('libdop')
conflicts=('libdop')
depends=('glibc')
source=('git://github.com/dopsi/libdop')
sha1sums=('SKIP')

_gitname=libdop

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

build () {
    cd "$_gitname"
    make
}

package() {
    cd "$_gitname"
    make DESTDIR="$pkgdir" PREFIX="/usr" install
}

# vim:ts=4:sw=4:expandtab