diff options
author | Chocobo1 | 2023-09-06 16:29:47 +0800 |
---|---|---|
committer | Chocobo1 | 2023-09-06 16:30:49 +0800 |
commit | afb3edb48c826d4e49c9977204ae2c6a3f7a1a6e (patch) | |
tree | 3fed83c3e6daf1ecb25acdf63d42cd2117c04fc0 | |
parent | 155ae57c95fa212951e4861d619dba4f6ca36dec (diff) | |
download | aur-libxslt-git.tar.gz |
upgpkg: libxslt-git 1.1.38.r9.g8c2e8031-1
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 15 insertions, 12 deletions
@@ -1,18 +1,19 @@ pkgbase = libxslt-git pkgdesc = XML stylesheet transformation library - pkgver = 1.1.37.r131.g075b6087 + pkgver = 1.1.38.r9.g8c2e8031 pkgrel = 1 url = https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home arch = i686 arch = x86_64 license = custom makedepends = git + makedepends = cmake + makedepends = python depends = glibc depends = libgcrypt depends = libxml2 - provides = libxslt=1.1.37.r131.g075b6087 + provides = libxslt=1.1.38.r9.g8c2e8031 conflicts = libxslt - options = staticlibs source = git+https://gitlab.gnome.org/GNOME/libxslt.git sha256sums = SKIP @@ -1,17 +1,16 @@ # Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> pkgname=libxslt-git -pkgver=1.1.37.r131.g075b6087 +pkgver=1.1.38.r9.g8c2e8031 pkgrel=1 pkgdesc="XML stylesheet transformation library" arch=('i686' 'x86_64') url="https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home" license=('custom') depends=('glibc' 'libgcrypt' 'libxml2') -makedepends=('git') +makedepends=('git' 'cmake' 'python') provides=("libxslt=$pkgver") conflicts=('libxslt') -options=('staticlibs') source=("git+https://gitlab.gnome.org/GNOME/libxslt.git") sha256sums=('SKIP') @@ -25,21 +24,24 @@ pkgver() { build() { cd "libxslt" - NOCONFIGURE=1 ./autogen.sh - ./configure \ - --prefix="/usr" - make + cmake \ + -B "_build" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DCMAKE_INSTALL_LIBDIR="lib" \ + ./ + make -C "_build" } check() { cd "libxslt" - #make check + #make -C "_build" test } package() { cd "libxslt" - make DESTDIR="$pkgdir" install + make -C "_build" DESTDIR="$pkgdir" install install -Dm644 "Copyright" -t "$pkgdir/usr/share/licenses/libxslt" } |