summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 14 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3de3f67e460..815b34ceccf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,14 +3,25 @@
pkgname=daemontools-encore
pkgver=1.10
-pkgrel=2
+pkgrel=3
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="https://untroubled.org/daemontools-encore"
license=('MIT')
depends=('sh')
-source=("https://untroubled.org/daemontools-encore/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('9f48f3c6cdd3f2b0202532e87f9ff46ea86777ca31ebda3a96bed618104bbd31')
+source=("https://untroubled.org/daemontools-encore/${pkgname}-${pkgver}.tar.gz"
+ 'ldflags.patch'
+ 'cflags.patch')
+sha256sums=('9f48f3c6cdd3f2b0202532e87f9ff46ea86777ca31ebda3a96bed618104bbd31'
+ '3842bbef9690295e77faab723205361667415f9788de6e09150f02e6a006c423'
+ 'b61e21071c1f115d32dd36f58f826310981e17978f5542e15da071abaf6fe22a')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+
+ patch conf-cc "${srcdir}/cflags.patch"
+ patch conf-ld "${srcdir}/ldflags.patch"
+}
build() {
cd "${pkgname}-${pkgver}"