summaryrefslogtreecommitdiffstats
path: root/rlr-git/PKGBUILD
diff options
context:
space:
mode:
authorYigit Sever2022-10-04 00:29:58 +0300
committerYigit Sever2022-10-04 00:29:58 +0300
commitcb77cc522f6ce2767382518c828d992cb50a4b1f (patch)
treeb996b06d1729b345fee5166d6aaa4d5ea1aee69e /rlr-git/PKGBUILD
parent046262074b69d57b15718b6fc0627e66500363c8 (diff)
downloadpackages-cb77cc522f6ce2767382518c828d992cb50a4b1f.tar.gz
packages-cb77cc522f6ce2767382518c828d992cb50a4b1f.tar.bz2
packages-cb77cc522f6ce2767382518c828d992cb50a4b1f.zip
use upstream's icons & desktop file
Diffstat (limited to 'rlr-git/PKGBUILD')
-rw-r--r--rlr-git/PKGBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/rlr-git/PKGBUILD b/rlr-git/PKGBUILD
index 979f263..c2cbef0 100644
--- a/rlr-git/PKGBUILD
+++ b/rlr-git/PKGBUILD
@@ -1,18 +1,17 @@
1# Maintainer: Yigit Sever <yigit at yigitsever dot com> 1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2 2
3pkgname=rlr-git # '-bzr', '-git', '-hg' or '-svn' 3pkgname=rlr-git
4pkgver=r25.5fd3169 4pkgver=r29.26ca7b5
5pkgrel=1 5pkgrel=1
6pkgdesc="interactive pixel screen ruler and protractor" 6pkgdesc="interactive pixel screen ruler and protractor"
7arch=('any') 7arch=('any')
8url="https://github.com/epilys/rlr" 8url="https://github.com/epilys/rlr"
9license=('GPL') 9license=('GPL')
10makedepends=('git' 'cargo') # 'bzr', 'git', 'mercurial' or 'subversion' 10makedepends=('git' 'cargo')
11provides=("${pkgname%-git}") 11provides=("${pkgname%-git}")
12conflicts=("${pkgname%-git}") 12conflicts=("${pkgname%-git}")
13source=("${pkgname%-git}::git+${url}" "${pkgname%-git}.desktop") 13source=("${pkgname%-git}::git+${url}")
14sha256sums=('SKIP' 14sha256sums=('SKIP')
15 '7f659ea7e8cb794963ff6881294a8aba388c33bc10c7e14c1ecf58fb241386e7')
16 15
17pkgver() { 16pkgver() {
18 cd "$srcdir/${pkgname%-git}" 17 cd "$srcdir/${pkgname%-git}"
@@ -36,5 +35,9 @@ package() {
36 # binary 35 # binary
37 install -Dm0755 "${srcdir}/${pkgname%-git}/target/release/${pkgname%-git}" -t "${pkgdir}/usr/bin/" 36 install -Dm0755 "${srcdir}/${pkgname%-git}/target/release/${pkgname%-git}" -t "${pkgdir}/usr/bin/"
38 # desktop file 37 # desktop file
39 install -Dm644 "${pkgname%-git}.desktop" "${pkgdir}/usr/share/applications/${pkgname%-git}.desktop" 38 install -Dm644 "${srcdir}/${pkgname%-git}/${pkgname%-git}.desktop" "${pkgdir}/usr/share/applications/${pkgname%-git}.desktop"
39 # png icon
40 install -Dm644 "${srcdir}/${pkgname%-git}/${pkgname%-git}.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/${pkgname%-git}.png"
41 # svg icon
42 install -Dm644 "${srcdir}/${pkgname%-git}/${pkgname%-git}.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname%-git}.png"
40} 43}