summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO20
-rwxr-xr-xPKGBUILD31
-rw-r--r--faba-mono-icons.install12
3 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0607e116960
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = faba-mono-icons-git
+ pkgdesc = The monochromatic panel icon sets for Faba.
+ pkgver = 94.560b521
+ pkgrel = 1
+ url = http://mokaproject.com/faba-icon-theme/
+ install = faba-mono-icons.install
+ arch = any
+ license = GPL3
+ makedepends = git
+ depends = faba-icon-theme-git
+ depends = gtk-update-icon-cache
+ provides = faba-mono-icons
+ conflicts = faba-mono-icons
+ replaces = faba-mono-icons
+ options = !strip
+ source = faba-mono-icons::git+https://github.com/moka-project/faba-mono-icons.git
+ sha256sums = SKIP
+
+pkgname = faba-mono-icons-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..8a900c6637a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Martin Wimpress <code@flexion.org>
+
+_pkgname=faba-mono-icons
+pkgname=${_pkgname}-git
+pkgver=94.560b521
+pkgrel=1
+pkgdesc="The monochromatic panel icon sets for Faba."
+arch=('any')
+url="http://mokaproject.com/faba-icon-theme/"
+license=('GPL3')
+depends=('faba-icon-theme-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/{Faba-Mono,Faba-Mono-Dark}
+ cp -dr --no-preserve=ownership "${_pkgname}"/{Faba-Mono,Faba-Mono-Dark} "${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/faba-mono-icons.install b/faba-mono-icons.install
new file mode 100644
index 00000000000..a659cce727e
--- /dev/null
+++ b/faba-mono-icons.install
@@ -0,0 +1,12 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/Faba-Mono
+ gtk-update-icon-cache -q -t -f /usr/share/icons/Faba-Mono-Dark
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}