summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBenoit Pierre2016-11-07 11:13:12 +0100
committerBenoit Pierre2016-11-07 11:13:12 +0100
commit63be9539dc8615d8cef2c4a017768e1642b8d530 (patch)
tree323981ec3198b9aa67f0c3178a33daada64f045b /PKGBUILD
downloadaur-packpack.tar.gz
initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..427a8326586
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Benoit Pierre <benoit.pierre@gmail.com>
+
+pkgname=packpack
+pkgver=1.0
+pkgrel=1
+pkgdesc='Simple building of RPMs & Debian packages from git repos'
+arch=('any')
+license=('BSD')
+url='https://github.com/packpack/packpack'
+makedepends=()
+depends=(coreutils bash docker)
+source=(https://github.com/packpack/packpack/archive/$pkgver/packpack-$pkgver.tar.gz)
+sha1sums=('d2f1f410e6dbe414d0f1964bcfb662123a974b03')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ echo -n "$pkgver" >VERSION
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="${pkgdir}" install
+ install -m755 -d "${pkgdir}/usr/share/doc/${pkgname}"
+ install -m644 README.md "${pkgdir}/usr/share/doc/${pkgname}/"
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
+}