blob: 05e4f968f7502529db84c73dd1d8c64afd5ad919 (
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
|
# notbit GIT version
# Contributor: alphazo@gmail.com
_gitname=notbit
pkgname=notbit-git
pkgver=r342.faf0930
pkgrel=1
pkgdesc="A minimal Bitmessage client"
arch=('i686' 'x86_64')
depends=('openssl')
license=('MIT')
url="https://github.com/bpeel/notbit"
makedepends=('git')
provides=("notbit=${pkgver}")
#install=${pkgname}.install
source=("git+https://github.com/bpeel/notbit.git")
sha1sums=('SKIP')
pkgver() {
cd "$_gitname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_gitname"
./autogen.sh
./configure --prefix=/usr \
make
}
package() {
cd "$_gitname"
make DESTDIR=${pkgdir} install
}
|