Edvinas Valatka пре 10 година
родитељ
комит
d8ecd218ba
2 измењених фајлова са 4 додато и 7 уклоњено
  1. 1 1
      .SRCINFO
  2. 3 6
      PKGBUILD

+ 1 - 1
.SRCINFO

@@ -13,7 +13,7 @@ pkgbase = libevhtp-seafile
 	depends = libevent>=2.0.0
 	provides = libevhtp
 	conflicts = libevhtp
-	source = https://github.com/ellzey/libevhtp/archive/1.2.9.zip
+	source = libevhtp-1.2.9.zip::https://github.com/ellzey/libevhtp/archive/1.2.9.zip
 	sha256sums = fc8572823ae7ed77cd0db8fd0e25983ebc770b271d36905fb1379db371aab28a
 
 pkgname = libevhtp-seafile

+ 3 - 6
PKGBUILD

@@ -1,6 +1,5 @@
-# Maintainer: Moritz Maxeiner <moritz@ucworks.org>
-
 # Contributor: Aaron Lindsay <aaron@aclindsay.com>
+# Maintainer: Edvinas Valatka <edacval@gmail.com>
 
 _pkgname=libevhtp
 pkgname="${_pkgname}"-seafile
@@ -12,11 +11,9 @@ url="https://github.com/ellzey/libevhtp"
 license=('BSD')
 depends=('libevent>=2.0.0')
 makedepends=('cmake')
-optdepends=()
 provides=('libevhtp')
 conflicts=('libevhtp')
-options=()
-source=("https://github.com/ellzey/libevhtp/archive/${pkgver}.zip")
+source=("${_pkgname}-${pkgver}.zip::https://github.com/ellzey/libevhtp/archive/${pkgver}.zip")
 
 build () {
 	cd "${srcdir}/${_pkgname}-${pkgver}"
@@ -27,7 +24,7 @@ build () {
 package () {
 	#install library and header files
 	cd "${srcdir}/${_pkgname}-${pkgver}"
-	make DESTDIR="${pkgdir}/" install
+	make DESTDIR="${pkgdir}" install
 
 	#copy license over
 	mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}