blob: d11421e4f2d915c12e1341710858b0e2241549d4 (
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
|
# Maintainer: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
pkgname=stikkit-git
pkgver=1.0.4.r6.g446a4ee
pkgrel=1
pkgdesc="Commandline tool to upload pastes to stikked pastebins"
arch=('i686' 'x86_64')
url="http://github.com/benapetr/stikkit"
license=('GPL')
makedepends=('git' 'cmake')
conflicts=('stikkit')
provides=('stikkit')
source=("$pkgname"::'git+https://github.com/benapetr/stikkit.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
git describe --long | sed -E 's/^Release_//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$pkgname/stikkit"
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}
package() {
cd "$srcdir/$pkgname/stikkit"
make DESTDIR="$pkgdir" install
}
|