blob: 6c7ca33a715fe0270fab05b69070e0c45e56fd90 (
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
|
# Maintainer: Johan Rehnberg <cleanrock@gmail.com>
pkgname=pr-downloader-git
pkgver=0.7.176.gdfb39db
pkgrel=1
pkgdesc="spring download tool"
arch=('i686' 'x86_64')
url="https://github.com/spring/pr-downloader"
license=('GPL-2')
groups=()
depends=('curl')
makedepends=('git' 'cmake' 'boost')
optdepends=()
provides=('pr-downloader')
conflicts=('pr-downloader' 'spring')
replaces=()
backup=()
options=()
install=
source=('git://github.com/spring/pr-downloader.git')
noextract=()
md5sums=('SKIP')
_gitname=pr-downloader
pkgver() {
cd "$srcdir/$_gitname"
# package version is Tag.CommitsSinceTag.CommitId, e.g 0.2.0.gab34413
git describe --long | sed 's|-|.|g'
}
build() {
cd "$srcdir/$_gitname"
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}
package() {
cd "$srcdir/$_gitname"
make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et:
|