summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulian Brost2018-04-14 17:58:40 +0200
committerJulian Brost2018-04-14 20:18:28 +0200
commitc00a49f0e5510c5faf34edd4d353a558edd3ee65 (patch)
treebbbbfb8f87c1daed11edea618714c6aca2a31a0c
parentb1b05d8f481ba6c691baad92d5a9561517dde7d3 (diff)
downloadaur-c00a49f0e5510c5faf34edd4d353a558edd3ee65.tar.gz
Make namcap happy
- Contributor -> Maintainer - Update dependencies, namcap complains about glibc and php.unit.so links agains libs only present in php-embed (which in turn depends on php). - nginx-unit-go is platform independent as it only contains source code
-rw-r--r--PKGBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d8b76dc1c35..b46928e124e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,4 @@
-# Contributor: Roman Voropaev <voropaev.roma@gmail.com>
+# Maintainer: Roman Voropaev <voropaev.roma@gmail.com>
pkgbase='nginx-unit'
pkgname=('nginx-unitd' 'nginx-unit-python' 'nginx-unit-php' 'nginx-unit-go')
@@ -31,6 +31,8 @@ build() {
}
package_nginx-unitd() {
+ depends=('glibc')
+
cd "$srcdir"/$_shortname-$pkgver
make DESTDIR="$pkgdir" unitd-install
install -m 644 -D "$srcdir"/unit.service "$pkgdir"/usr/lib/systemd/system/unit.service
@@ -38,18 +40,22 @@ package_nginx-unitd() {
package_nginx-unit-python() {
depends=('nginx-unitd' 'python')
+
cd "$srcdir"/$_shortname-$pkgver
make DESTDIR="$pkgdir" python-install
}
package_nginx-unit-php() {
- depends=('nginx-unitd' 'php')
+ depends=('nginx-unitd' 'php-embed')
+
cd "$srcdir"/$_shortname-$pkgver
make DESTDIR="$pkgdir" php-install
}
package_nginx-unit-go() {
+ arch=('any')
depends=('nginx-unitd' 'go')
+
cd "$srcdir"/$_shortname-$pkgver
make DESTDIR="$pkgdir" go-install
}