summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cbb8c31b788..2a9156ce1b9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,20 +3,22 @@
# Contributor: foalsrock <foalsrock at gmail dot com>
pkgname=compass-icon-theme
-pkgver=1.3.7
+pkgver=1.3.8
pkgrel=1
pkgdesc='The alternative icon theme for the .nitrux Operating System'
url='http://nitrux.in/store/artwork-store/compass-icon-theme/'
license=('cc-by-nc-nd-4.0')
depends=('librsvg')
arch=('any')
-source=("http://nitrux.in/downloads/files/free/${pkgname}-${pkgver}.tar.gz")
-md5sums=('63192602b948f66c27a901aa8f4428b0')
+source=("https://launchpad.net/~nitrux-team/+archive/ubuntu/nitrux-artwork/+files/${pkgname}_${pkgver}.tar.gz")
+md5sums=('da6069af00ec59924874c1d9636f9ffe')
package() {
- mkdir -p "${pkgdir}/usr/share/icons/"
- cp -r "${srcdir}/Compass" "${pkgdir}/usr/share/icons/Compass"
+ install -dm755 "${pkgdir}/usr/share/icons"
+ cp -r "${srcdir}/${pkgname}-${pkgver}/Compass" "${pkgdir}/usr/share/icons/${pkgname}"
- install -Dm644 "${srcdir}/Compass/COPYING" \
- "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ find "${pkgdir}/usr/share/icons" -type d -exec chmod 755 '{}' \;
+ find "${pkgdir}/usr/share/icons" -type f -exec chmod 644 '{}' \;
+
+ install -Dm644 "${pkgdir}/usr/share/"{icons,licenses}"/${pkgname}/COPYING"
}