[arch-commits] Commit in xss-lock/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 17:06:03 UTC 2020
Date: Tuesday, July 7, 2020 @ 17:06:02
Author: felixonmars
Revision: 659545
archrelease: copy trunk to community-staging-x86_64
Added:
xss-lock/repos/community-staging-x86_64/
xss-lock/repos/community-staging-x86_64/PKGBUILD
(from rev 659544, xss-lock/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: xss-lock/repos/community-staging-x86_64/PKGBUILD (from rev 659544, xss-lock/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 17:06:02 UTC (rev 659545)
@@ -0,0 +1,34 @@
+# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
+# Contributor: Pierre Neidhardt <ambrevar at gmail.com>
+# Contributor: Raymond Wagenmaker <raymondwagenmaker at gmail.com>
+
+pkgname=xss-lock
+# It seems that development has stopped but the latest commit is more stable
+# than the latest tag.
+_commit=1e158fb20108058dbd62bd51d8e8c003c0a48717
+_taghash=1e158fb20108
+pkgver=0.3.0.g$_taghash
+pkgrel=3
+pkgdesc="Use external locker as X screen saver"
+arch=("x86_64")
+url="https://bitbucket.org/raymonad/xss-lock"
+license=("MIT")
+depends=("glib2" "xcb-util")
+makedepends=("cmake" "git" "python-docutils")
+optdepends=("bash-completion: for bash completion")
+# source=("${pkgname}-${pkgver}.tar.gz::https://bitbucket.org/raymonad/$pkgname/get/v$pkgver.tar.gz")
+source=("${pkgname}-${pkgver}.tar.gz::https://bitbucket.org/raymonad/xss-lock/get/${_commit}.tar.gz")
+# source=("git+https://bitbucket.org/raymonad/$pkgname.git")
+md5sums=('d7ee0d919c19244366cedbe1f65d39c7')
+
+build() {
+ cd "$srcdir/raymonad-$pkgname-$_taghash"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd "$srcdir/raymonad-$pkgname-$_taghash"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list