summaryrefslogtreecommitdiff
path: root/community/plank-config
diff options
context:
space:
mode:
Diffstat (limited to 'community/plank-config')
-rwxr-xr-xcommunity/plank-config/PKGBUILD34
-rwxr-xr-xcommunity/plank-config/plank-config.install12
2 files changed, 46 insertions, 0 deletions
diff --git a/community/plank-config/PKGBUILD b/community/plank-config/PKGBUILD
new file mode 100755
index 000000000..ad8e621f4
--- /dev/null
+++ b/community/plank-config/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 109586 2014-04-16 10:47:58Z flexiondotorg $
+# Maintainer : Martin Wimpress <code@flexion.org>
+# Contributor: Ernesto Ricart <ernest2193@gmail.com>
+
+_pkgname=Plank-Config
+# Convert to lowercase
+pkgname=${_pkgname,,}
+pkgver=1.2
+pkgrel=3
+pkgdesc="A tool to configure Plank Dock"
+arch=('i686' 'x86_64')
+url="https://github.com/ernest21/Plank-Config/"
+license=('GPL')
+depends=('plank')
+makedepends=('vala')
+source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/ernest21/${_pkgname}/archive/v${pkgver}.tar.gz")
+md5sums=('7b5ee3842c079166d70aadb9eb14fd77')
+install=${pkgname}.install
+
+prepare() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ chmod +x ./autogen.sh
+ NOCONFIGURE=1 ./autogen.sh
+}
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr
+ make
+}
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/community/plank-config/plank-config.install b/community/plank-config/plank-config.install
new file mode 100755
index 000000000..27f359d34
--- /dev/null
+++ b/community/plank-config/plank-config.install
@@ -0,0 +1,12 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+} \ No newline at end of file