summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorStefan Auditor2020-01-10 16:04:57 +0100
committerStefan Auditor2020-01-10 16:04:57 +0100
commit061dcf3973c91679609fd5957b352fc62942e2d1 (patch)
treed6f1b5c5ed98f8c7ba9ca450c3a86ca89e10fb2e /PKGBUILD
downloadaur-061dcf3973c91679609fd5957b352fc62942e2d1.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..17ea15298c9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Stefan Auditor <stefan.auditor@erdfisch.de>
+# Please report issues at https://github.com/sanduhrs/php-humbug-box
+
+_pkgname='php-humbug-box'
+pkgname="${_pkgname}-bin"
+pkgver=3.8.0
+pkgrel=1
+pkgdesc='Fast, zero config application bundler with PHARs.'
+arch=('any')
+url='https://github.com/humbug/box'
+license=('MIT')
+install="${_pkgname}.install"
+source=(
+ "https://github.com/humbug/box/releases/download/${pkgver}/box.phar"
+ "https://raw.githubusercontent.com/humbug/box/${pkgver}/LICENSE"
+)
+sha512sums=('03fae36d1f696e0df041a689d9bd8004bd8ae631310a156c8f1a4b37a4ab26899b8f9022ba25c2807c9a4fea6315fd3bd18d07d46f9cb5c67371009401968bca'
+ '4574410c9a00c41e11d166bcc0d44b4e31b5beaf24bf498a608ebf611e86466a3a61549da6d608b714b3c32c5c361a1514baf38e4db2a5fc0a0d36b69169cb50')
+
+package() {
+ install -d -m755 "${pkgdir}/var/log/traefik"
+
+ install -D -m644 "${srcdir}/traefik.logrotate" "${pkgdir}/etc/logrotate.d/traefik"
+ install -D -m644 "${srcdir}/traefik.service" "${pkgdir}/usr/lib/systemd/system/traefik.service"
+ install -D -m644 "${srcdir}/traefik.toml" "${pkgdir}/etc/traefik/traefik.toml"
+
+ install -D -m644 "${srcdir}/LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D -m755 "${srcdir}/${_pkgname}_${CARCH}_${pkgver}" "${pkgdir}/usr/bin/${_pkgname}"
+}
+
+package() {
+ install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
+ install -D -m755 "${srcdir}/box.phar" "${pkgdir}/usr/share/webapps/bin/box.phar"
+ install -d "${pkgdir}/usr/bin"
+ ln -s "/usr/share/webapps/bin/box.phar" "${pkgdir}/usr/bin/box"
+}