Przeglądaj źródła

Merge branch 'release-1.2.9-3'

Edvinas Valatka 10 lat temu
rodzic
commit
06895259f5
2 zmienionych plików z 6 dodań i 9 usunięć
  1. 2 2
      .SRCINFO
  2. 4 7
      PKGBUILD

+ 2 - 2
.SRCINFO

@@ -1,7 +1,7 @@
 pkgbase = libevhtp-seafile
 	pkgdesc = A more flexible replacement for libevent's httpd API. [Built for seafile]
 	pkgver = 1.2.9
-	pkgrel = 2
+	pkgrel = 3
 	url = https://github.com/ellzey/libevhtp
 	arch = i686
 	arch = x86_64
@@ -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

+ 4 - 7
PKGBUILD

@@ -1,22 +1,19 @@
-# Maintainer: Moritz Maxeiner <moritz@ucworks.org>
-
 # Contributor: Aaron Lindsay <aaron@aclindsay.com>
+# Maintainer: Edvinas Valatka <edacval@gmail.com>
 
 _pkgname=libevhtp
 pkgname="${_pkgname}"-seafile
 pkgver=1.2.9
-pkgrel=2
+pkgrel=3
 pkgdesc="A more flexible replacement for libevent's httpd API. [Built for seafile]"
 arch=('i686' 'x86_64' 'armv5te' 'armv6h' 'armv7h')
 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}