commit 2fa380ce644496d78a03c1177dbd9bc525b67054 Author: xhaa123 Date: Sun Nov 3 20:30:58 2024 +0800 libunistring 1.2-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..2b182e0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Future Linux Team +pkgname=libunistring +pkgver=1.2 +pkgrel=1 +pkgdesc="Library for manipulating Unicode strings and C strings" +arch=('x86_64') +url="https://www.gnu.org/software/libunistring/" +license=('GPL') +depends=('glibc') +source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz) +sha256sums=(632bd65ed74a881ca8a0309a1001c428bd1cbd5cd7ddbf8cedcd2e65f4dcdc44) + +build() { + cd ${pkgname}-${pkgver} + + ${CONFIGURE} \ + --disable-static \ + --docdir=/usr/share/doc/${pkgname}-${pkgver} + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}