jobcore/libunistring/PKGBUILD
joborun a452272ac4 upg pacman
upg pcre2 shadow sqlit xz mkinitcpio iproute2 gnupg expat efibootmngr audit archilinux-keyring
2024-03-14 20:11:55 +02:00

52 lines
1.5 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=libunistring
pkgver=1.2
pkgrel=01
pkgdesc='Library for manipulating Unicode strings and C strings'
url='https://www.gnu.org/software/libunistring/'
depends=(glibc)
makedepends=(gcc)
provides=('libunistring.so')
source=(https://ftp.gnu.org/gnu/$pkgname/${pkgname}-${pkgver}.tar.xz{,.sig})
#prepare() {
# cd $pkgname-$pkgver
# # https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=cca32830b5
# sed -i '/pragma weak pthread_create/d' tests/glthread/thread.h
#}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
check() {
make -C $pkgname-$pkgver check
}
package() {
make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(GPL)
validpgpkeys=(462225C3B46F34879FC8496CD605848ED7E69871 # Daiki Ueno <ueno@unixuser.org>
9001B85AF9E1B83DF1BDA942F5BE8B267C6A406D) # Bruno Haible (Open Source Development) <bruno@clisp.org>
sha256sums=(632bd65ed74a881ca8a0309a1001c428bd1cbd5cd7ddbf8cedcd2e65f4dcdc44 # libunistring-1.2.tar.xz
91da3f033231a635dae9e0161c834b74e890e1eba19d4e5972b26c5c312ac2cb) # libunistring-1.2.tar.xz.sig
## 501ca8f454adf7b4da856367d8f18ca2caf1f881730f052fa899ce54b3530c7e libunistring-1.2-01-x86_64.pkg.tar.lz