blob: 0f4722df5cab3092187900b2f8773288aa71d3ef (
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
34
35
36
37
38
39
|
# Maintainer: Pat Brisbin <pbrisbin@gmail.com>
_gitname='@PACKAGE@'
pkgname=$_gitname-git
pkgver=v1.2.3.r6.gdb0be68
pkgrel=4
pkgdesc="rc file (dotfile) management"
arch=('any')
url="http://thoughtbot.github.io/@PACKAGE@/"
license=('BSD')
conflicts=('@PACKAGE@')
makedepends=('git' 'ruby-mustache')
source=('git://github.com/thoughtbot/@PACKAGE@')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_gitname"
git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
prepare() {
cd "$srcdir/$_gitname"
./autogen.sh
}
build() {
cd "$srcdir/$_gitname"
./configure \
--disable-silent-rules \
--prefix=/usr
make
}
package() {
cd "$srcdir/$_gitname"
make DESTDIR="$pkgdir/" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_gitname/LICENSE"
}
# vim:set ts=2 sw=2 et:
|