diff options
author | Yigit Sever | 2022-10-04 00:30:45 +0300 |
---|---|---|
committer | Yigit Sever | 2022-10-04 00:30:45 +0300 |
commit | e1fef9eae86e896a641008bf320640f04ad94be0 (patch) | |
tree | d0400a2ae1cd2f9bdb5ff6afc6490b3ae9891cd8 /PKGBUILD | |
parent | 84b3dae3d12c3b4acbc371a56bc37f0ecb9490dc (diff) | |
download | packages-e1fef9eae86e896a641008bf320640f04ad94be0.tar.gz packages-e1fef9eae86e896a641008bf320640f04ad94be0.tar.bz2 packages-e1fef9eae86e896a641008bf320640f04ad94be0.zip |
use upstream's icons & desktop file
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -1,18 +1,17 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | 1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> |
2 | 2 | ||
3 | pkgname=rlr-git # '-bzr', '-git', '-hg' or '-svn' | 3 | pkgname=rlr-git |
4 | pkgver=r25.5fd3169 | 4 | pkgver=r29.26ca7b5 |
5 | pkgrel=1 | 5 | pkgrel=1 |
6 | pkgdesc="interactive pixel screen ruler and protractor" | 6 | pkgdesc="interactive pixel screen ruler and protractor" |
7 | arch=('any') | 7 | arch=('any') |
8 | url="https://github.com/epilys/rlr" | 8 | url="https://github.com/epilys/rlr" |
9 | license=('GPL') | 9 | license=('GPL') |
10 | makedepends=('git' 'cargo') # 'bzr', 'git', 'mercurial' or 'subversion' | 10 | makedepends=('git' 'cargo') |
11 | provides=("${pkgname%-git}") | 11 | provides=("${pkgname%-git}") |
12 | conflicts=("${pkgname%-git}") | 12 | conflicts=("${pkgname%-git}") |
13 | source=("${pkgname%-git}::git+${url}" "${pkgname%-git}.desktop") | 13 | source=("${pkgname%-git}::git+${url}") |
14 | sha256sums=('SKIP' | 14 | sha256sums=('SKIP') |
15 | '7f659ea7e8cb794963ff6881294a8aba388c33bc10c7e14c1ecf58fb241386e7') | ||
16 | 15 | ||
17 | pkgver() { | 16 | pkgver() { |
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 | } |