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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 14:11:04 UTC 2020


    Date: Tuesday, July 7, 2020 @ 14:11:03
  Author: felixonmars
Revision: 658744

archrelease: copy trunk to community-staging-x86_64

Added:
  xssstate/repos/community-staging-x86_64/
  xssstate/repos/community-staging-x86_64/PKGBUILD
    (from rev 658743, xssstate/trunk/PKGBUILD)

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

Copied: xssstate/repos/community-staging-x86_64/PKGBUILD (from rev 658743, xssstate/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 14:11:03 UTC (rev 658744)
@@ -0,0 +1,25 @@
+pkgname=xssstate
+pkgver=1.1
+pkgrel=4
+pkgdesc='A simple tool to retrieve the X screensaver state'
+arch=('x86_64')
+url="https://tools.suckless.org/$pkgname"
+license=('MIT')
+depends=('libxss' 'sh')
+source=("https://dl.suckless.org/tools/$pkgname-1.1.tar.gz")
+md5sums=('7d4935bc17b6f01afa12e420331fa688')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make PREFIX=/usr DESTDIR="$pkgdir"
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make PREFIX="/usr" DESTDIR="$pkgdir" install
+
+  install -Dm0644 README "$pkgdir/usr/share/doc/xssstate/README"
+  install -Dm0644 xsidle.sh "$pkgdir/usr/share/doc/xssstate/xsidle.sh"
+  install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list