summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTheCynicalLiger2020-12-30 23:56:17 +0000
committerTheCynicalLiger2020-12-30 23:56:17 +0000
commitff09356cd6c82ded1fdcb01b88a477c5237dc801 (patch)
tree74aa7dd4200860b43ec01ca355071655eb692fe3 /PKGBUILD
parent9e683ee9d1cb20319d84335b67eb72153931b307 (diff)
downloadaur-moka-icon-theme-git.tar.gz
update
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-xPKGBUILD16
1 files changed, 5 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0fd40b11e36..df336fc733c 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,30 +2,24 @@
_pkgname=moka-icon-theme
pkgname=${_pkgname}-git
-pkgver=382.669c2ae
+pkgver=5.4.0
pkgrel=1
pkgdesc="An icon theme designed with a minimal, flat style, using simple geometry & colours."
arch=('any')
-url="https://snwh.org/moka"
+url="https://github.com/moka-project/moka-icon-theme"
license=('GPL3')
-depends=('faba-icon-theme-git' 'faba-mono-icons-git' 'gtk-update-icon-cache')
-makedepends=('git')
+depends=('gtk-update-icon-cache')
conflicts=("${_pkgname}")
provides=("${_pkgname}")
replaces=("${_pkgname}")
options=(!strip)
-source=(${_pkgname}::"git+https://github.com/moka-project/${_pkgname}.git")
+source=("${pkgname}-$pkgver.tar.gz::${url}/archive/v$pkgver.tar.gz")
sha256sums=('SKIP')
install=${_pkgname}.install
-pkgver() {
- cd ${srcdir}/${_pkgname}
- echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
-}
-
package() {
install -d -m 755 "${pkgdir}"/usr/share/icons/Moka
- cp -dr --no-preserve=ownership "${_pkgname}"/Moka "${pkgdir}"/usr/share/icons/
+ cp -dr --no-preserve=ownership "${_pkgname}-${pkgver}"/Moka "${pkgdir}"/usr/share/icons/
find "${pkgdir}"/usr/share/icons/ -type d -exec chmod 755 {} \;
find "${pkgdir}"/usr/share/icons/ -type f -exec chmod 644 {} \;
}