Date: Saturday, April 15, 2023 @ 22:55:36
  Author: heftig
Revision: 474084

archrelease: copy trunk to testing-any

Added:
  openresolv/repos/testing-any/
  openresolv/repos/testing-any/PKGBUILD
    (from rev 474083, openresolv/trunk/PKGBUILD)

----------+
 PKGBUILD |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

Copied: openresolv/repos/testing-any/PKGBUILD (from rev 474083, 
openresolv/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD                                (rev 0)
+++ testing-any/PKGBUILD        2023-04-15 22:55:36 UTC (rev 474084)
@@ -0,0 +1,50 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Ignacio Galmarino <[email protected]>
+
+pkgname=openresolv
+pkgver=3.13.0
+pkgrel=1
+pkgdesc="resolv.conf management framework (resolvconf)"
+url="https://roy.marples.name/projects/openresolv";
+arch=(any)
+license=(custom:BSD)
+provides=(resolvconf)
+depends=(bash)
+makedepends=(
+  git
+  systemd
+)
+backup=(etc/resolvconf.conf)
+_commit=1036bdbbbe3a773214f5b9bad2ff5dab3655f21f  # tags/openresolv-3.13.0^0
+source=("git+https://github.com/NetworkConfiguration/openresolv#commit=$_commit";)
+b2sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^openresolv-//;s/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  local configure_options=(
+    --prefix=/usr
+    --sysconfdir=/etc
+    --libexecdir=/usr/lib/resolvconf
+    --sbindir=/usr/bin
+  )
+
+  cd $pkgname
+  ./configure "${configure_options[@]}"
+  make
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE
+}
+
+# vim:set sw=2 sts=-1 et:

Reply via email to