[arch-commits] Commit in pkgconf/repos (4 files)
Jelle van der Waa
jelle at archlinux.org
Mon Apr 27 18:51:19 UTC 2020
Date: Monday, April 27, 2020 @ 18:51:18
Author: jelle
Revision: 381750
archrelease: copy trunk to testing-x86_64
Added:
pkgconf/repos/testing-x86_64/
pkgconf/repos/testing-x86_64/PKGBUILD
(from rev 381749, pkgconf/trunk/PKGBUILD)
pkgconf/repos/testing-x86_64/i686-pc-linux-gnu.personality
(from rev 381749, pkgconf/trunk/i686-pc-linux-gnu.personality)
pkgconf/repos/testing-x86_64/x86_64-pc-linux-gnu.personality
(from rev 381749, pkgconf/trunk/x86_64-pc-linux-gnu.personality)
---------------------------------+
PKGBUILD | 69 ++++++++++++++++++++++++++++++++++++++
i686-pc-linux-gnu.personality | 5 ++
x86_64-pc-linux-gnu.personality | 5 ++
3 files changed, 79 insertions(+)
Copied: pkgconf/repos/testing-x86_64/PKGBUILD (from rev 381749, pkgconf/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-04-27 18:51:18 UTC (rev 381750)
@@ -0,0 +1,69 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Piotr Gorski <lucjan.lucjanov at gmail.com>
+# Contributor: Lucy <lucy at luz.lu>
+# Contributor: Bartlomiej Piotrowski <nospam at bpiotrowski.pl>
+
+pkgname=pkgconf
+pkgver=1.6.3
+pkgrel=4
+pkgdesc="Package compiler and linker metadata toolkit"
+url="https://github.com/pkgconf/pkgconf"
+license=(custom:ISC)
+arch=(x86_64)
+depends=(glibc sh)
+makedepends=(git)
+provides=(pkg-config pkgconfig)
+conflicts=(pkg-config)
+replaces=(pkg-config)
+groups=(base-devel)
+_commit=c862e030cf83447f679e4f49876f5298f0fc9691 # tags/pkgconf-1.6.3
+source=("git+https://git.sr.ht/~kaniini/pkgconf#commit=$_commit"
+ i686-pc-linux-gnu.personality
+ x86_64-pc-linux-gnu.personality)
+sha256sums=('SKIP'
+ '6697c6db7deaae269ea75624a70e80949241f2cf59a537f31ecfcac726d90bc1'
+ 'c8297817ba0b57d003878db247ff34b4c47a7594c9f67dcfe8ff8d6567956cd5')
+
+_pcdirs=/usr/lib/pkgconfig:/usr/share/pkgconfig
+_libdir=/usr/lib
+_includedir=/usr/include
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^pkgconf-//;s/-/+/g'
+}
+
+prepare() {
+ mkdir build
+ cd $pkgname
+ ./autogen.sh
+}
+
+build() {
+ cd build
+ ../$pkgname/configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-pkg-config-dir="$_pcdirs" \
+ --with-system-libdir="$_libdir" \
+ --with-system-includedir="$_includedir" \
+ --disable-static
+ make
+}
+
+package() {
+ DESTDIR="$pkgdir" make -C build install
+
+ install -Dt "$pkgdir/usr/share/pkgconfig/personality.d" -m644 \
+ i686-pc-linux-gnu.personality \
+ x86_64-pc-linux-gnu.personality
+ ln -s pkgconf "$pkgdir/usr/bin/i686-pc-linux-gnu-pkg-config"
+ ln -s pkgconf "$pkgdir/usr/bin/x86_64-pc-linux-gnu-pkg-config"
+ ln -s pkgconf "$pkgdir/usr/bin/pkg-config"
+
+ ln -s pkgconf.1 "$pkgdir/usr/share/man/man1/pkg-config.1"
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/COPYING
+}
+
+# vim:set sw=2 et:
Copied: pkgconf/repos/testing-x86_64/i686-pc-linux-gnu.personality (from rev 381749, pkgconf/trunk/i686-pc-linux-gnu.personality)
===================================================================
--- testing-x86_64/i686-pc-linux-gnu.personality (rev 0)
+++ testing-x86_64/i686-pc-linux-gnu.personality 2020-04-27 18:51:18 UTC (rev 381750)
@@ -0,0 +1,5 @@
+Triplet: i686-pc-linux-gnu
+SysrootDir: /
+DefaultSearchPaths: /usr/lib32/pkgconfig:/usr/share/pkgconfig
+SystemIncludePaths: /usr/include
+SystemLibraryPaths: /usr/lib32
Copied: pkgconf/repos/testing-x86_64/x86_64-pc-linux-gnu.personality (from rev 381749, pkgconf/trunk/x86_64-pc-linux-gnu.personality)
===================================================================
--- testing-x86_64/x86_64-pc-linux-gnu.personality (rev 0)
+++ testing-x86_64/x86_64-pc-linux-gnu.personality 2020-04-27 18:51:18 UTC (rev 381750)
@@ -0,0 +1,5 @@
+Triplet: x86_64-pc-linux-gnu
+SysrootDir: /
+DefaultSearchPaths: /usr/lib/pkgconfig:/usr/share/pkgconfig
+SystemIncludePaths: /usr/include
+SystemLibraryPaths: /usr/lib
More information about the arch-commits
mailing list