blob: 5f70822c2241f9f8fa2b76cc9f2a34e18b4340a4 (
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
40
41
42
43
44
45
46
47
|
# Maintainer: Pat Brisbin <pbrisbin@gmail.com>
_gitname='@PACKAGE@'
pkgname=$_gitname-git
pkgver=0.0.0
pkgrel=3
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 "$_gitname"
git describe --always | sed 's|-|.|g'
}
prepare() {
cd "$_gitname"
./autogen.sh
}
build() {
cd "$_gitname"
./configure \
--disable-debug \
--disable-dependency-tracking \
--disable-silent-rules \
--prefix=/usr
make
}
package() {
cd "$_gitname"
make DESTDIR="$pkgdir/" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_gitname/LICENSE"
}
# vim:set ts=2 sw=2 et:
|