initial import
This commit is contained in:
34
libxml++/PKGBUILD
Normal file
34
libxml++/PKGBUILD
Normal file
@@ -0,0 +1,34 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=libxml++
|
||||
pkgver=3.2.2
|
||||
pkgrel=3
|
||||
pkgdesc="C++ bindings to libxml2"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('LGPL-2.1')
|
||||
url='https://libxmlplusplus.sourceforge.net/'
|
||||
depends=('libxml2' 'glibmm')
|
||||
makedepends=('mm-common' 'docbook-xsl')
|
||||
options=('!emptydirs')
|
||||
source=("https://github.com/libxmlplusplus/libxmlplusplus/releases/download/$pkgver/$pkgname-$pkgver.tar.xz")
|
||||
sha512sums=('c000d438aae487b92de2a1c60277d5e3ad3bf93824fc8fa99684778ea2334a45bf621f8d253190bdadedc591772d9beee53a98ebc3e20015d2ca68e097c0a253')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="${pkgdir}" install doc_subdirs=
|
||||
make DESTDIR="${pkgdir}" -C docs install
|
||||
install -Dm644 COPYING -t $pkgdir/usr/share/licenses/$pkgname
|
||||
}
|
||||
Reference in New Issue
Block a user