summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD55
2 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5070f380de7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = aarch64-linux-gnu-libxslt
+ pkgdesc = XML stylesheet transformation library (ARM64)
+ pkgver = 1.1.34
+ pkgrel = 1
+ url = http://xmlsoft.org/XSLT/
+ arch = x86_64
+ license = custom
+ makedepends = aarch64-linux-gnu-configure
+ depends = aarch64-linux-gnu-libxml2
+ depends = aarch64-linux-gnu-libgcrypt
+ options = !buildflags
+ source = https://gitlab.gnome.org/GNOME/libxslt/-/archive/v1.1.34/libxslt-v1.1.34.tar.gz
+ sha256sums = c61af4c898a93c2862f3f06bba8e5de5e352463febc94a2642d732f21e5d5641
+
+pkgname = aarch64-linux-gnu-libxslt
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ca3f454310c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,55 @@
+# Maintainer: Tilmann Meyer <tilmann.meyer@gmx.net>
+
+_target=aarch64-linux-gnu
+
+_pkgname=libxslt
+pkgname=$_target-$_pkgname
+pkgver=1.1.34
+pkgrel=1
+pkgdesc='XML stylesheet transformation library (ARM64)'
+arch=(x86_64)
+url='http://xmlsoft.org/XSLT/'
+license=(custom)
+depends=($_target-libxml2 $_target-libgcrypt)
+makedepends=($_target-configure)
+options=(!buildflags)
+source=(
+ https://gitlab.gnome.org/GNOME/$_pkgname/-/archive/v$pkgver/$_pkgname-v$pkgver.tar.gz
+)
+sha256sums=(
+ 'c61af4c898a93c2862f3f06bba8e5de5e352463febc94a2642d732f21e5d5641'
+)
+
+_srcdir=$_pkgname-v$pkgver
+
+strip() {
+ ${_target}-strip "$@"
+}
+
+objcopy() {
+ ${_target}-objcopy "$@"
+}
+
+prepare() {
+ cd $_srcdir
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $_srcdir
+
+ mkdir -p build-$_target && pushd build-$_target
+ $_target-configure \
+ --without-python
+ make
+ popd
+}
+
+package() {
+ cd $_srcdir
+
+ pushd build-$_target
+ make DESTDIR="$pkgdir" install
+ popd
+}