-
-
Save lmartinez-mirror/9fb453d9b9de7e02aaae6c27156aacaa to your computer and use it in GitHub Desktop.
Suggestions for libnxml AUR package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Fahim Montasir Misbah <fahimscirex@tutanota.com> | |
# Contributor: Luis Martinez <luis dot martinez at disroot dot org> | |
# Contributor: Malte Rabenseifner <malte@zearan.de> | |
# Contributor: Allan McRae <allan@archlinux.org> | |
# Contributor: Bernhard Walle <bernhard.walle@gmx.de> | |
pkgname=libnxml | |
pkgver=0.18.4 | |
pkgrel=2 | |
pkgdesc="C library for parsing, writing and creating XML 1.0 and 1.1 files or streams" | |
url="https://github.com/bakulf/libnxml" | |
arch=('x86_64') | |
license=('LGPL') | |
depends=('libcurl.so') | |
provides=('libnxml.so') | |
source=("$pkgname-$pkgver.tar.gz::$url/archive/887a515.tar.gz") | |
sha256sums=('f8278d5302204775720ee319407aa18d2b20d988834c81e9507c0c70cbfbfd39') | |
prepare() { | |
mv libnxml-887a515b83feeca309c4740822e676812fff5df9 "$pkgname-$pkgver" | |
} | |
build() { | |
cd "$pkgname-$pkgver" | |
./autogen.sh | |
./configure --prefix=/usr | |
make | |
} | |
package() { | |
cd "$pkgname-$pkgver" | |
make DESTDIR="$pkgdir" install | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/PKGBUILD b/PKGBUILD | |
index 23e81bc..db5488d 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -1,28 +1,33 @@ | |
# Maintainer: Fahim Montasir Misbah <fahimscirex@tutanota.com> | |
+# Contributor: Luis Martinez <luis dot martinez at disroot dot org> | |
# Contributor: Malte Rabenseifner <malte@zearan.de> | |
# Contributor: Allan McRae <allan@archlinux.org> | |
# Contributor: Bernhard Walle <bernhard.walle@gmx.de> | |
pkgname=libnxml | |
pkgver=0.18.4 | |
-pkgrel=1 | |
+pkgrel=2 | |
pkgdesc="C library for parsing, writing and creating XML 1.0 and 1.1 files or streams" | |
url="https://github.com/bakulf/libnxml" | |
+arch=('x86_64') | |
license=('LGPL') | |
-depends=('curl') | |
-arch=('i686' 'x86_64') | |
-options=('!libtool') | |
-source=($pkgname-$pkgver::git+https://github.com/bakulf/libnxml.git) | |
-sha256sums=('SKIP') | |
+depends=('libcurl.so') | |
+provides=('libnxml.so') | |
+source=("$pkgname-$pkgver.tar.gz::$url/archive/887a515.tar.gz") | |
+sha256sums=('f8278d5302204775720ee319407aa18d2b20d988834c81e9507c0c70cbfbfd39') | |
+ | |
+prepare() { | |
+ mv libnxml-887a515b83feeca309c4740822e676812fff5df9 "$pkgname-$pkgver" | |
+} | |
build() { | |
- cd "$srcdir/$pkgname-$pkgver" | |
- ./autogen.sh | |
- ./configure --prefix=/usr || return 1 | |
- make || return 1 | |
+ cd "$pkgname-$pkgver" | |
+ ./autogen.sh | |
+ ./configure --prefix=/usr | |
+ make | |
} | |
package() { | |
- cd "$srcdir/$pkgname-$pkgver" | |
- make DESTDIR="$pkgdir" install || return 1 | |
+ cd "$pkgname-$pkgver" | |
+ make DESTDIR="$pkgdir" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment