[arch-commits] Commit in darkhttpd/trunk (PKGBUILD)

Christian Hesse eworm at archlinux.org
Sun Feb 28 12:14:08 UTC 2021


    Date: Sunday, February 28, 2021 @ 12:14:08
  Author: eworm
Revision: 875874

upgpkg: darkhttpd 1.13-1: new upstream release

Modified:
  darkhttpd/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-28 12:02:45 UTC (rev 875873)
+++ PKGBUILD	2021-02-28 12:14:08 UTC (rev 875874)
@@ -1,26 +1,20 @@
 # Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
 
 pkgname=darkhttpd
-pkgver=1.12
-pkgrel=6
+pkgver=1.13
+pkgrel=1
 pkgdesc="A small and secure static webserver"
 arch=('x86_64')
 url="https://unix4lyfe.org/darkhttpd/"
 license=('BSD')
 backup=('etc/conf.d/mimetypes')
-source=("$url/$pkgname-$pkgver.tar.bz2"
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/emikulic/darkhttpd/archive/v${pkgver}.tar.gz"
         'darkhttpd.service'
         'darkhttpd at .service')
-sha256sums=('a50417b622b32b5f421b3132cb94ebeff04f02c5fb87fba2e31147d23de50505'
+sha256sums=('1d88c395ac79ca9365aa5af71afe4ad136a4ed45099ca398168d4a2014dc0fc2'
             'e53ae82993f6c996c0c54ccbbd9307811501cf01404c441b48b2c79f9384fa27'
             '0bfbe13c93ba87d8ea08ab85745c92cebcbc6b627616e7c58d6099a234a59841')
 
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  sed -i 's/$(CFLAGS)/$(CFLAGS) $(LDFLAGS)/' Makefile
-}
-
 build() {
   cd "$srcdir/$pkgname-$pkgver"
 


More information about the arch-commits mailing list