summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulian Brost2018-04-14 17:54:23 +0200
committerJulian Brost2018-04-14 17:54:23 +0200
commit64f1930a979d8f4b6b3a921ca2496eeb04b601a1 (patch)
tree1018e2826354a599e6a6f047d90195b8aae65489
parent87d5b242234f55af01c1167a845853fa1504ceb5 (diff)
downloadaur-64f1930a979d8f4b6b3a921ca2496eeb04b601a1.tar.gz
Include unit.service in source array
-rw-r--r--PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 99563482deb..ac71b5d7fa6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,8 +9,10 @@ pkgdesc="Dynamic web application server, designed to run applications in multipl
arch=('i686' 'x86_64')
url="http://unit.nginx.org/"
license=('Apache-2.0')
-source=("https://unit.nginx.org/download/unit-$pkgver.tar.gz")
-sha256sums=('13b250032d3aeef554f5e7f67b26dc2c01b9e51f5f392cbeca44db65488ca6f1')
+source=("https://unit.nginx.org/download/unit-$pkgver.tar.gz"
+ 'unit.service')
+sha256sums=('13b250032d3aeef554f5e7f67b26dc2c01b9e51f5f392cbeca44db65488ca6f1'
+ 'SKIP')
makedepends=('php-embed' 'python' 'go')
build() {
@@ -25,7 +27,7 @@ build() {
package_nginx-unitd() {
cd "$srcdir"/$_shortname-$pkgver
make DESTDIR="$pkgdir" unitd-install
- install -m 644 -D "$startdir"/unit.service "$pkgdir"/usr/lib/systemd/system/unit.service
+ install -m 644 -D "$srcdir"/unit.service "$pkgdir"/usr/lib/systemd/system/unit.service
}
package_nginx-unit-python() {