summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Zamarin2015-06-08 11:42:35 +0300
committerArthur Zamarin2015-06-08 11:42:35 +0300
commitad5c8ab0d524e36b82c639e0a7be0f5cb2b42b4b (patch)
tree624a0787b838c36afe1d106fa9bf3c3c8777d7d0
downloadaur-ad5c8ab0d524e36b82c639e0a7be0f5cb2b42b4b.tar.gz
Initial Commit
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD45
-rw-r--r--thunar-volman-git.install16
3 files changed, 86 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..738a1afd372
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = thunar-volman-git
+ pkgdesc = automatic management for removeable devices in thunar
+ pkgver = 434.c6164e9
+ pkgrel = 1
+ url = http://goodies.xfce.org/projects/thunar-plugins/thunar-volman
+ install = thunar-volman-git.install
+ arch = i686
+ arch = x86_64
+ groups = xfce4-goodies-git
+ license = GPL2
+ makedepends = git
+ makedepends = intltool
+ makedepends = pkgconfig
+ makedepends = xfce4-dev-tools
+ depends = thunar
+ depends = libxfce4ui
+ depends = hicolor-icon-theme
+ provides = thunar-volman
+ conflicts = thunar-volman
+ options = !libtool
+ source = git://git.xfce.org/xfce/thunar-volman
+ md5sums = SKIP
+
+pkgname = thunar-volman-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..eb61b9d75fb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Diego <cdprincipe@at@gmail@dot@com>
+#Contributor: Gadget3000 <gadget3000 at msn dot com>
+
+_pkgname=thunar-volman
+pkgname=thunar-volman-git
+pkgver=434.c6164e9
+pkgrel=1
+pkgdesc="automatic management for removeable devices in thunar"
+arch=(i686 x86_64)
+license=('GPL2')
+url="http://goodies.xfce.org/projects/thunar-plugins/thunar-volman"
+groups=('xfce4-goodies-git')
+#depends=('thunar-git' 'libxfce4ui' 'hicolor-icon-theme')
+depends=('thunar' 'libxfce4ui' 'hicolor-icon-theme')
+makedepends=('git' 'intltool' 'pkgconfig' 'xfce4-dev-tools')
+conflicts=(thunar-volman)
+provides=(thunar-volman)
+options=('!libtool')
+install=${pkgname}.install
+source=('git://git.xfce.org/xfce/thunar-volman')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+# git describe --always | sed 's|-|.|g'
+ echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+build() {
+ cd "$srcdir/$_pkgname"
+
+ ./autogen.sh \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/xfce4 \
+ --localstatedir=/var \
+ --disable-static \
+ --disable-debug
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/thunar-volman-git.install b/thunar-volman-git.install
new file mode 100644
index 00000000000..23fe3cd3a89
--- /dev/null
+++ b/thunar-volman-git.install
@@ -0,0 +1,16 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+op=$1
+shift
+
+$op $*