diff options
author | Jarcode | 2020-10-12 08:29:07 -0700 |
---|---|---|
committer | Jarcode | 2020-10-12 08:29:07 -0700 |
commit | d494420b4f0bb4b5d7a078e8311d347afe3a8515 (patch) | |
tree | 926004a03f894bf0ebf40cefcd5cac6ea90c71a4 | |
download | aur-d494420b4f0bb4b5d7a078e8311d347afe3a8515.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f7dca7df4555 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = bomutils-git + pkgdesc = Open source tools to create bill-of-materials files used in Mac OS X installers + pkgver = 0.2.r0.g3f7dc2d + pkgrel = 1 + url = https://github.com/hogliux/bomutils + arch = x86_64 + license = GPL2 + source = bomutils::git+https://github.com/hogliux/bomutils + md5sums = SKIP + +pkgname = bomutils-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..300c1b3a6d3b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Levi Webb <?> +_pkgbase=bomutils +pkgname=bomutils-git +pkgver=0.2.r0.g3f7dc2d +pkgrel=1 +pkgdesc='Open source tools to create bill-of-materials files used in Mac OS X installers' +url='https://github.com/hogliux/bomutils' +arch=('x86_64') +license=('GPL2') +source=("$_pkgbase::git+https://github.com/hogliux/bomutils") +makedepends=() +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$_pkgbase" + git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g' +} + +build() { + cd "$srcdir/$_pkgbase" + make +} + +package() { + cd "$srcdir/$_pkgbase" + make DESTDIR="$pkgdir" install +} |