sbcl rebuild
[arch-packages.git] / pkgconf / repos / core-x86_64 / PKGBUILD
blob2443734c2c14003717a1bf34c35bb37fb790da2a
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Johannes Löthberg <johannes@kyriasis.com>
3 # Contributor: Piotr Gorski <lucjan.lucjanov@gmail.com>
4 # Contributor: Lucy <lucy@luz.lu>
5 # Contributor: Bartlomiej Piotrowski <nospam@bpiotrowski.pl>
7 pkgname=pkgconf
8 pkgver=1.8.0
9 pkgrel=1
10 pkgdesc="Package compiler and linker metadata toolkit"
11 url="https://github.com/pkgconf/pkgconf"
12 license=(custom:ISC)
13 arch=(x86_64)
14 depends=(glibc sh)
15 makedepends=(git meson)
16 provides=(pkg-config pkgconfig libpkgconf.so)
17 conflicts=(pkg-config)
18 replaces=(pkg-config)
19 groups=(base-devel)
20 _commit=cef30268e1a3f79efd607c26abcf556aa314c9c4  # tags/pkgconf-1.8.0
21 source=("git+$url#commit=$_commit"
22         i686-pc-linux-gnu.personality
23         x86_64-pc-linux-gnu.personality)
24 sha256sums=('SKIP'
25             '6697c6db7deaae269ea75624a70e80949241f2cf59a537f31ecfcac726d90bc1'
26             'c8297817ba0b57d003878db247ff34b4c47a7594c9f67dcfe8ff8d6567956cd5')
28 pkgver() {
29   cd $pkgname
30   git describe --tags | sed 's/^pkgconf-//;s/-/+/g'
33 prepare() {
34   cd $pkgname
37 build() {
38   arch-meson $pkgname build -D tests=false
39   meson compile -C build
42 check() {
43   meson test -C build --print-errorlogs
46 package() {
47   meson install -C build --destdir "$pkgdir"
49   install -Dt "$pkgdir/usr/share/pkgconfig/personality.d" -m644 \
50     i686-pc-linux-gnu.personality \
51     x86_64-pc-linux-gnu.personality
53   ln -s pkgconf "$pkgdir/usr/bin/i686-pc-linux-gnu-pkg-config"
54   ln -s pkgconf "$pkgdir/usr/bin/x86_64-pc-linux-gnu-pkg-config"
55   ln -s pkgconf "$pkgdir/usr/bin/pkg-config"
57   ln -s pkgconf.1 "$pkgdir/usr/share/man/man1/pkg-config.1"
59   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/COPYING
62 # vim:set sw=2 et: