summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRomain GÉRARD2019-02-17 18:40:44 +0100
committerRomain GÉRARD2019-02-17 18:40:44 +0100
commit105ffc1c209c5b3a86b58a1609f25a9eebebd679 (patch)
treed53cf6653a74a9ddfe1b9a4ea500e91a244c2c5a /PKGBUILD
parente879c3356f93f6d82c2a53fcce71e08bbc9a98eb (diff)
downloadaur-rofi-greenclip.tar.gz
Add systemd service for greenclip
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4c651131cce..00e83edac8e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,7 @@
pkgname=rofi-greenclip
pkgver=3.2
-epoch=1
-pkgrel=0
+pkgrel=2
pkgdesc="Clipboard manager to use with rofi - Image support and blacklist"
arch=('x86_64')
url="https://github.com/erebe/greenclip"
@@ -19,11 +18,14 @@ conflicts=("rofi-greenclip-beta")
replaces=("rofi-greenclip-beta")
backup=()
options=('!strip')
-source=("https://github.com/erebe/greenclip/releases/download/3.2/greenclip")
+source=("https://github.com/erebe/greenclip/releases/download/3.2/greenclip"
+ "greenclip.service")
noextract=()
-sha256sums=("18447e96c1fb0afebaa42507e59a2780fc4fdb2e88a44e84421cd1727648c443")
+sha256sums=('18447e96c1fb0afebaa42507e59a2780fc4fdb2e88a44e84421cd1727648c443'
+ 'a5b84a8137aed68ab06d0d38cf1f4c705ce283f300d430b0c6e2d0fd13d1ddd0')
package() {
- install -Dm 755 greenclip "$pkgdir/usr/bin/greenclip"
+ install -Dm755 greenclip "$pkgdir/usr/bin/greenclip"
+ install -Dm644 "$srcdir/greenclip.service" "$pkgdir/usr/lib/systemd/user/greenclip.service"
}