summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a41806f09e7e7feaaa240d7240e0b75107b1f721 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#Package from: Keidan <https://github.com/Keidan>
#Maintainer : Sasasu <lizhaolong0123@gmail.com>
pkgname=hex2bin
pkgver=20161122
pkgrel=1
pkgdesc="Hex to binary converter."
arch=('any')
url="https://github.com/Keidan/hex2bin"
license=('GPL3')
depends=('gcc')
makedepends=('git' 'make')
source=("$pkgname::git+https://github.com/Keidan/hex2bin")
md5sums=('SKIP')

build() {
	cd "$srcdir"/"$_pkgname/$pkgname"
	make
}
package() {
	cd "$srcdir"/"$_pkgname/$pkgname"
	mkdir -p "$pkgdir"/usr/bin
	install -Dm755 "hex2bin" "$pkgdir"/usr/bin
}