summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD27
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e7ba0c6adcb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = packpack
+ pkgdesc = Simple building of RPMs & Debian packages from git repos
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://github.com/packpack/packpack
+ arch = any
+ license = BSD
+ depends = coreutils
+ depends = bash
+ depends = docker
+ source = https://github.com/packpack/packpack/archive/1.0/packpack-1.0.tar.gz
+ sha1sums = d2f1f410e6dbe414d0f1964bcfb662123a974b03
+
+pkgname = packpack
+
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}/"
+}