summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c4073d077e689e8f3383eb32f558917ee0bd7da2 (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: tailinchu <use_my_id at gmail dot com>

pkgname=march-overlay-git
pkgver=186.9f5f009
pkgrel=1
pkgdesc="march default system config (git version)"
arch=('any')
url="http://github.com/taylorchu/march-overlay"
license=('GPL2')
depends=('bash' 'expac')
makedepends=('git')
conflicts=()
provides=()
source=("git://github.com/taylorchu/march-overlay.git")
md5sums=('SKIP')

_gitroot="march-overlay"

pkgver () {
    cd "$srcdir/$_gitroot"
    echo "$(git rev-list --count HEAD).$(git describe --always)"
}

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