[arch-commits] Commit in (5 files)

Martin Wimpress flexiondotorg at nymeria.archlinux.org
Wed Apr 16 10:44:22 UTC 2014


    Date: Wednesday, April 16, 2014 @ 12:44:21
  Author: flexiondotorg
Revision: 109585

Added plank-config

Added:
  plank-config/
  plank-config/repos/
  plank-config/trunk/
  plank-config/trunk/PKGBUILD
  plank-config/trunk/plank-config.install

----------------------+
 PKGBUILD             |   34 ++++++++++++++++++++++++++++++++++
 plank-config.install |   12 ++++++++++++
 2 files changed, 46 insertions(+)

Added: plank-config/trunk/PKGBUILD
===================================================================
--- plank-config/trunk/PKGBUILD	                        (rev 0)
+++ plank-config/trunk/PKGBUILD	2014-04-16 10:44:21 UTC (rev 109585)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer : Martin Wimpress <code at flexion.org>
+# Contributor: Ernesto Ricart <ernest2193 at 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
+}


Property changes on: plank-config/trunk/PKGBUILD
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: plank-config/trunk/plank-config.install
===================================================================
--- plank-config/trunk/plank-config.install	                        (rev 0)
+++ plank-config/trunk/plank-config.install	2014-04-16 10:44:21 UTC (rev 109585)
@@ -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


Property changes on: plank-config/trunk/plank-config.install
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property



More information about the arch-commits mailing list