[arch-commits] Commit in sxhkd/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 21:20:50 UTC 2020


    Date: Tuesday, July 7, 2020 @ 21:20:49
  Author: felixonmars
Revision: 660349

archrelease: copy trunk to community-staging-x86_64

Added:
  sxhkd/repos/community-staging-x86_64/
  sxhkd/repos/community-staging-x86_64/PKGBUILD
    (from rev 660346, sxhkd/trunk/PKGBUILD)

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

Copied: sxhkd/repos/community-staging-x86_64/PKGBUILD (from rev 660346, sxhkd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 21:20:49 UTC (rev 660349)
@@ -0,0 +1,27 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Bastien Dejean <nihilhill at gmail.com>
+
+pkgname=sxhkd
+pkgver=0.6.1
+pkgrel=2
+pkgdesc='Simple X hotkey daemon'
+arch=(x86_64)
+url='https://github.com/baskerville/sxhkd'
+license=(custom:BSD)
+depends=(xcb-util-keysyms)
+makedepends=(git xcb-util)
+source=("git+$url#tag=$pkgver")
+md5sums=('SKIP')
+
+build() {
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+  make -C $pkgname PREFIX=/usr
+}
+
+package() {
+  make -C $pkgname PREFIX=/usr DESTDIR="$pkgdir" install
+  install -Dm644 $pkgname/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# getver: github.com/baskerville/sxhkd/releases/latest
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list