blob: 7b6c431a76b80ea83deedd010cd855a21d64b23c (
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
|
# Maintainer: Sam Stuewe <halosghost at archlinux dot info>
pkgname=libbase58-git
pkgver=v0.1.4.r6.gbee00a6
pkgrel=1
pkgdesc='a library for base58 encoding and decoding'
url='https://github.com/bitcoin/libbase58'
arch=('i686' 'x86_64')
license=('custom:MIT')
conflicts=('python-base58' 'python2-base58')
depends=()
makedepends=('git')
source=("git+${url}.git")
sha256sums=('SKIP')
pkgver () {
cd libbase58
git describe --long | sed -r 's/([^-]*-g)/r\1/; s/-/./g'
}
prepare () {
cd libbase58
./autogen.sh
./configure --prefix='/usr'
}
build () {
cd libbase58
make
}
check () {
cd libbase58
make check
}
package () {
cd libbase58
make DESTDIR="$pkgdir" PREFIX='/usr' install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/"$pkgname"/COPYING
}
|