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

Pierre Schmitz pierre at archlinux.org
Sat Sep 19 12:27:11 UTC 2020


    Date: Saturday, September 19, 2020 @ 12:27:10
  Author: pierre
Revision: 396316

upgpkg: hefur 1.0-1

Modified:
  hefur/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-19 09:59:59 UTC (rev 396315)
+++ PKGBUILD	2020-09-19 12:27:10 UTC (rev 396316)
@@ -2,20 +2,20 @@
 # Contributor: Alexandre Bique <bique.alexandre at gmail.com>
 
 pkgname=hefur
-pkgver=0.6
-pkgrel=11
+pkgver=1.0
+pkgrel=1
 pkgdesc='A standalone and lightweight BitTorrent tracker'
 arch=('x86_64')
 url='https://github.com/abique/hefur'
 license=('MIT')
-makedepends=('git' 'cmake' 'docbook-xsl')
+makedepends=('git' 'cmake')
 depends=('gnutls' 'xz' 'protobuf')
 source=("git+https://github.com/abique/${pkgname}.git#tag=${pkgver}"
         'hefurd.service' 'tmpfiles.conf' 'sysusers.conf')
-md5sums=('SKIP'
-         '3107be29769b8afde3574dc6e31d5b6a'
-         'b884385d6c87c350172427da4ba2688f'
-         '7971708a1fe25c1b51e0a05e812f17c9')
+sha1sums=('SKIP'
+          'd9359b0e1c54ef2d286c6161eb742d442ba1b766'
+          'f482ed1715d5a375c4a8d1906436b946c0b02157'
+          '306db71b24ea5ca3429b6f482ab310fc7cfde63c')
 
 prepare() {
 	cd ${srcdir}/${pkgname}
@@ -22,12 +22,10 @@
 	git submodule init
 	git submodule update
 	sed -i "s/PROJECT_NUMBER.*/PROJECT_NUMBER=${pkgver}/g" Doxyfile
+	sed -i "s/tracker-controller.hh//g" hefur/CMakeLists.txt
 }
 
 build() {
-	cd ${srcdir}/${pkgname}/manual
-	xsltproc -o manual.html /usr/share/xml/docbook/xsl-stylesheets-*/html/docbook.xsl manual.xml
-
 	cd ${srcdir}/${pkgname}
 	mkdir build
 	cd build
@@ -41,5 +39,5 @@
 	install -D -m644 ${srcdir}/hefurd.service ${pkgdir}/usr/lib/systemd/system/hefurd.service
 	install -D -m644 ${srcdir}/tmpfiles.conf ${pkgdir}/usr/lib/tmpfiles.d/hefurd.conf
 	install -D -m644 ${srcdir}/sysusers.conf ${pkgdir}/usr/lib/sysusers.d/hefurd.conf
-	install -D -m644 ${srcdir}/${pkgname}/LICENSE ${pkgdir}/usr/share/licenses/hefur/LICENSE
+	install -D -m644 ${srcdir}/${pkgname}/LICENSE.md ${pkgdir}/usr/share/licenses/hefur/LICENSE
 }


More information about the arch-commits mailing list