blob: 1d60bdc410e495b590b91ee508b35f13dc4bfe49 (
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
48
|
# Maintainer: <code@lab-11>
pkgname=lutra
pkgver=21227b8
pkgrel=1
epoch=
pkgdesc=""
arch=('i686' 'x86_64')
url=""
license=('BSD-2-Clause')
groups=()
depends=('pacman')
makedepends=('git' 'ponyc')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=('git://github.com/code-monad/lutra')
md5sums=('SKIP')
noextract=()
pkgver() {
cd "$srcdir/$pkgname"
git describe --always | sed 's|-|.|g'
# To give the total count of commits and the hash of the last one
# (useful if you're making a repository with git packages so that they can have
# sequential version numbers, else a "pacman -Syu" may not update the package):
#echo "0.$(git rev-list --count $branch).$(git describe --always)"
# Using the last commit date:
#git log -1 --format="%cd" --date=short | sed 's|-||g'
}
build() {
cd "$srcdir/$pkgname"
make
}
package() {
cd "$srcdir/$pkgname"
make PREFIX=/usr DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
|