summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2022-01-29 00:16:34 -0700
committerBrian Bidulock2022-01-29 00:16:34 -0700
commit1ed023456b7a2300df6cad2f7bac2df6d3ae0cb6 (patch)
tree7b8191154fbc18c62ec06c213f2efcb99b09e3a3
parent3e998a0bf67246d16937ce8f755cff3ff37bd3da (diff)
downloadaur-1ed023456b7a2300df6cad2f7bac2df6d3ae0cb6.tar.gz
uppkg
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD15
2 files changed, 9 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 03830cff2f4..4d1e30615d3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = xdg-launch-git
pkgdesc = A command line XDG compliant launcher
- pkgver = 1.11.r1.g97cf9d0
+ pkgver = 1.12.r1.g26f7127
pkgrel = 1
url = http://github.com/bbidulock/xdg-launch
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 2f4d42badf2..d7267baba82 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Brian Bidulock <bidulock@openss7.org>
pkgname=xdg-launch-git
-pkgver=1.11.r1.g97cf9d0
+pkgver=1.12.r1.g26f7127
pkgrel=1
pkgdesc="A command line XDG compliant launcher"
arch=('i686' 'x86_64')
@@ -17,24 +17,25 @@ source=("${pkgname}::git+https://github.com/bbidulock/xdg-launch")
md5sums=('SKIP')
pkgver() {
- cd ${pkgname}
- git describe --long --tags | sed -r 's,([^-]*-g),r\1,;s,-,.,g'
+ cd $pkgname
+ git describe --long --tags | sed -E 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,-,.,g'
}
prepare() {
- cd ${pkgname}
+ cd $pkgname
./autogen.sh
}
build() {
- cd ${pkgname}
+ cd $pkgname
./configure
+ # Fight unused direct deps
+ sed -i -e "s| -shared | $LDFLAGS\0 |g" -e "s| if test \"\$export_dynamic\" = yes && test -n \"\$export_dynamic_flag_spec\"; then| func_append compile_command \" $LDFLAGS\"\n func_append finalize_command \" $LDFLAGS\"\n\0|" libtool
make
}
package() {
- cd ${pkgname}
- make DESTDIR="${pkgdir}" install
+ make -C $pkgname DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et: