summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Broda2018-02-19 04:37:29 +0100
committerRobin Broda2018-02-19 04:37:29 +0100
commit2516689d35b2888506019dac095cc6cb483d386f (patch)
tree1d6f7b192eaf529fab4bf940a4c3372c8d68011c
parent0b52e18fd07ff412b83dec878381a965958149f4 (diff)
downloadaur-2516689d35b2888506019dac095cc6cb483d386f.tar.gz
Fix PKGBUILD; Bump version; Install license
-rw-r--r--PKGBUILD74
1 files changed, 19 insertions, 55 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fa490705473..e9e9c180deb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,71 +1,35 @@
-#
-# PKGBUILD for daemontools-encore
-#
+# Maintainer: Robin Broda <robin at broda dot me>
# Contributor: Uffe Jakobsen <uffe@uffe.org>
-# Maintainer: Uffe Jakobsen <uffe@uffe.org>
-#
+
pkgname=daemontools-encore
-pkgver=1.06
+pkgver=1.10
pkgrel=1
-epoch=
pkgdesc="collection of tools for managing UNIX services - derived from the public-domain release of daemontools by D. J. Bernstein."
arch=('i686' 'x86_64')
-url="http://untroubled.org/daemontools-encore"
-license=('unknown')
-groups=()
-depends=('glibc')
-makedepends=()
-checkdepends=()
-optdepends=()
-provides=()
-conflicts=()
-replaces=()
-backup=()
-options=()
-install=
-changelog=
-source=(http://untroubled.org/daemontools-encore/$pkgname-$pkgver.tar.gz)
-# fastforward-cc-conf.patch)
-noextract=()
-md5sums=('1db6f1f7c913f728389e384c6340d53c')
-# '7c6ebb4e2e514bebc11296f0a2ee80eb')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
- #patch -p1 -i "$srcdir/fastforward-cc-conf.patch"
-}
+url="https://untroubled.org/daemontools-encore"
+license=('MIT')
+depends=('bash')
+source=("https://untroubled.org/daemontools-encore/$pkgname-$pkgver.tar.gz")
+sha256sums=('9f48f3c6cdd3f2b0202532e87f9ff46ea86777ca31ebda3a96bed618104bbd31')
build() {
- cd "$srcdir/$pkgname-$pkgver"
- echo
- echo "WARNING: self-tests may run for a long time durig this build..."
- echo
- make
-}
+ cd "${pkgname}-${pkgver}"
-check() {
- cd "$srcdir/$pkgname-$pkgver"
- #make -k check
+ make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "${pkgname}-${pkgver}"
- mkdir "$pkgdir/usr"
- chmod 755 "$pkgdir/usr"
+ path_bin="${pkgdir}/usr/bin"
+ path_man="${pkgdir}/usr/share/man"
- mkdir "$pkgdir/usr/bin"
- chmod 755 "$pkgdir/usr/bin"
- echo "$pkgdir/usr/bin" > conf-bin
+ install -dm755 "${path_bin}"
+ install -dm755 "${path_man}"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- mkdir "$pkgdir/usr/share"
- chmod 755 "$pkgdir/usr/share"
+ echo "${path_bin}" > conf-bin
+ echo "${path_man}" > conf-man
- mkdir "$pkgdir/usr/share/man"
- chmod 755 "$pkgdir/usr/share/man"
- echo "$pkgdir/usr/share/man" > conf-man
-
- make DESTDIR="$pkgdir/" install
+ make DESTDIR="${pkgdir}/" install
}
-
-# EOF