summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreygjhart2015-07-30 00:35:13 +0200
committerGreygjhart2015-07-30 00:35:13 +0200
commite1da191a3c36df3a729d74c36edbb8beaa474597 (patch)
tree8c3622eee38c59059d50a1b2d64cae0ee44b478f
downloadaur-e1da191a3c36df3a729d74c36edbb8beaa474597.tar.gz
Initial import
-rw-r--r--.SRCINFO21
-rwxr-xr-xPKGBUILD31
-rw-r--r--moka-icon-theme.install11
3 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6b05bd9de24
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = moka-icon-theme-git
+ pkgdesc = An icon theme designed with a minimal, flat style, using simple geometry & colours.
+ pkgver = 382.669c2ae
+ pkgrel = 1
+ url = http://mokaproject.com/moka-icon-theme/
+ install = moka-icon-theme.install
+ arch = any
+ license = GPL3
+ makedepends = git
+ depends = faba-icon-theme-git
+ depends = faba-mono-icons-git
+ depends = gtk-update-icon-cache
+ provides = moka-icon-theme
+ conflicts = moka-icon-theme
+ replaces = moka-icon-theme
+ options = !strip
+ source = moka-icon-theme::git+https://github.com/moka-project/moka-icon-theme.git
+ sha256sums = SKIP
+
+pkgname = moka-icon-theme-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..e847a0d2803
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Martin Wimpress <code@flexion.org>
+
+_pkgname=moka-icon-theme
+pkgname=${_pkgname}-git
+pkgver=382.669c2ae
+pkgrel=1
+pkgdesc="An icon theme designed with a minimal, flat style, using simple geometry & colours."
+arch=('any')
+url="http://mokaproject.com/moka-icon-theme/"
+license=('GPL3')
+depends=('faba-icon-theme-git' 'faba-mono-icons-git' 'gtk-update-icon-cache')
+makedepends=('git')
+conflicts=("${_pkgname}")
+provides=("${_pkgname}")
+replaces=("${_pkgname}")
+options=(!strip)
+source=(${_pkgname}::"git+https://github.com/moka-project/${_pkgname}.git")
+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/
+ find "${pkgdir}"/usr/share/icons/ -type d -exec chmod 755 {} \;
+ find "${pkgdir}"/usr/share/icons/ -type f -exec chmod 644 {} \;
+}
diff --git a/moka-icon-theme.install b/moka-icon-theme.install
new file mode 100644
index 00000000000..43aaa7e96f6
--- /dev/null
+++ b/moka-icon-theme.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/Moka
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}