summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2022-10-07 01:13:27 +0300
committerYigit Sever2022-10-07 01:13:27 +0300
commitfee6f20ad7d6d96fcbd2ba96878b3deee0cb1f69 (patch)
tree2634d1b974f5419966858a82b4595f1ead1d2cdd
parente1fef9eae86e896a641008bf320640f04ad94be0 (diff)
downloadpackages-fee6f20ad7d6d96fcbd2ba96878b3deee0cb1f69.tar.gz
packages-fee6f20ad7d6d96fcbd2ba96878b3deee0cb1f69.tar.bz2
packages-fee6f20ad7d6d96fcbd2ba96878b3deee0cb1f69.zip
fix icons
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD12
2 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f472892..8cb9638 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
1pkgbase = rlr-git 1pkgbase = rlr-git
2 pkgdesc = interactive pixel screen ruler and protractor 2 pkgdesc = interactive pixel screen ruler and protractor
3 pkgver = r29.26ca7b5 3 pkgver = r30.bff17e8
4 pkgrel = 1 4 pkgrel = 1
5 url = https://github.com/epilys/rlr 5 url = https://github.com/epilys/rlr
6 arch = any 6 arch = any
diff --git a/PKGBUILD b/PKGBUILD
index c2cbef0..b1e21c9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Yigit Sever <yigit at yigitsever dot com> 1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2 2
3pkgname=rlr-git 3pkgname=rlr-git
4pkgver=r29.26ca7b5 4pkgver=r30.bff17e8
5pkgrel=1 5pkgrel=1
6pkgdesc="interactive pixel screen ruler and protractor" 6pkgdesc="interactive pixel screen ruler and protractor"
7arch=('any') 7arch=('any')
@@ -36,8 +36,10 @@ package() {
36 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/"
37 # desktop file 37 # desktop file
38 install -Dm644 "${srcdir}/${pkgname%-git}/${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 39
40 install -Dm644 "${srcdir}/${pkgname%-git}/${pkgname%-git}.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/${pkgname%-git}.png" 40 # icon
41 # svg icon 41 install -Dm644 "${srcdir}/${pkgname%-git}/${pkgname%-git}.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname%-git}.svg"
42 install -Dm644 "${srcdir}/${pkgname%-git}/${pkgname%-git}.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname%-git}.png" 42 # symbolic icon
43 install -Dm644 "${srcdir}/${pkgname%-git}/${pkgname%-git}.svg" "${pkgdir}/usr/share/icons/hicolor/symbolic/apps/${pkgname%-git}.svg"
44
43} 45}