[arch-commits] Commit in pkgconf/repos (4 files)

Johannes Löthberg demize at archlinux.org
Tue May 26 20:11:13 UTC 2020


    Date: Tuesday, May 26, 2020 @ 20:11:12
  Author: demize
Revision: 387695

archrelease: copy trunk to testing-x86_64

Added:
  pkgconf/repos/testing-x86_64/
  pkgconf/repos/testing-x86_64/PKGBUILD
    (from rev 387694, pkgconf/trunk/PKGBUILD)
  pkgconf/repos/testing-x86_64/i686-pc-linux-gnu.personality
    (from rev 387694, pkgconf/trunk/i686-pc-linux-gnu.personality)
  pkgconf/repos/testing-x86_64/x86_64-pc-linux-gnu.personality
    (from rev 387694, 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 387694, pkgconf/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-05-26 20:11:12 UTC (rev 387695)
@@ -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.7.2
+pkgrel=1
+pkgdesc="Package compiler and linker metadata toolkit"
+url="https://git.sr.ht/~kaniini/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=c6b93941a03fc330d260d815614dc36468481af2  # tags/pkgconf-1.7.2
+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 387694, 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-05-26 20:11:12 UTC (rev 387695)
@@ -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 387694, 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-05-26 20:11:12 UTC (rev 387695)
@@ -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