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

Felix Yan felixonmars at archlinux.org
Fri Nov 9 23:16:46 UTC 2018


    Date: Friday, November 9, 2018 @ 23:16:46
  Author: felixonmars
Revision: 405227

archrelease: copy trunk to community-staging-x86_64

Added:
  xsel/repos/community-staging-x86_64/
  xsel/repos/community-staging-x86_64/PKGBUILD
    (from rev 405226, xsel/trunk/PKGBUILD)

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

Copied: xsel/repos/community-staging-x86_64/PKGBUILD (from rev 405226, xsel/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 23:16:46 UTC (rev 405227)
@@ -0,0 +1,30 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=xsel
+pkgver=1.2.0.20160929
+_commit=aa7f57eed805adb09e9c59c8ea841870e8206b81
+pkgrel=2
+pkgdesc="XSel is a command-line program for getting and setting the contents of the X selection"
+arch=(x86_64)
+url="http://www.vergenet.net/~conrad/software/xsel/"
+license=("custom")
+depends=('libx11')
+makedepends=('libxt' 'git')
+#source=(http://www.vergenet.net/~conrad/software/xsel/download/$pkgname-$pkgver.tar.gz)
+source=("git://github.com/kfish/xsel.git#commit=${_commit}")
+md5sums=('SKIP')
+
+build() {
+  cd "$srcdir"/$pkgname
+  touch README
+  [ -x configure ] && ./configure --prefix=/usr || ./autogen.sh --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir"/$pkgname
+  make DESTDIR="$pkgdir" install
+  mkdir -p "$pkgdir"/usr/share/licenses/xsel/
+  install -D -m0644 COPYING "$pkgdir"/usr/share/licenses/xsel/COPYING
+}



More information about the arch-commits mailing list