summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5553f232b25b635fb455892435f01b8e59241a6 (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
# Maintainer: James Hendrie <hendrie.james@gmail.com>
pkgname=bin2dec
pkgver=1.6
pkgrel=2
epoch=
pkgdesc="Converts binary numbers to decimal integers or ASCII text"
arch=('i686' 'x86_64')
url="https://github.com/jahendrie/bin2dec"
license=('FreeBSD')
groups=()
depends_x86_64=('glibc')
depends_i686=('lib32-glibc')
makedepends=('gcc' 'make')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/jahendrie/bin2dec/releases/download/v1.6/$pkgname-$pkgver.tar.gz")
noextract=()
md5sums=('69994b8ebaa65903ce249db371b9817c')
validpgpkeys=()

build() {
	cd "$pkgname-$pkgver"
	#./configure --prefix=/usr
	make
}

package() {
	cd "$pkgname-$pkgver"
    echo "$pkgdir"
    make PREFIX="$pkgdir/usr" install
	#make DESTDIR="$pkgdir/" install
}