summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD48
-rw-r--r--gnome-encfs-manager-bzr.install20
3 files changed, 93 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..eaa0093b223
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = gnome-encfs-manager-bzr
+ pkgdesc = An easy to use manager and mounter for Encfs stashes.
+ pkgver = 1.8.14+r550
+ pkgrel = 1
+ url = https://launchpad.net/gencfsm
+ install = gnome-encfs-manager-bzr.install
+ arch = any
+ license = GPL v2
+ makedepends = bzr
+ makedepends = vala
+ makedepends = intltool
+ depends = encfs
+ depends = vala
+ depends = intltool
+ depends = libgee06
+ depends = gtk3
+ depends = libsm
+ depends = libgnome-keyring
+ provides = gnome-encfs-manager
+ conflicts = gnome-encfs-manager
+ source = gnome-encfs-manager-bzr::bzr+https://code.launchpad.net/~gencfsm/gencfsm/trunk
+ md5sums = SKIP
+
+pkgname = gnome-encfs-manager-bzr
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3059658a876
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,48 @@
+# Maintainer: jfperini <@jfperini>
+# Contributor: jfperini <@jfperini>
+
+pkgname=gnome-encfs-manager-bzr
+pkgver=1.8.14+r550
+pkgrel=1
+pkgdesc="An easy to use manager and mounter for Encfs stashes."
+url="https://launchpad.net/gencfsm"
+arch=('any')
+license=('GPL v2')
+depends=('encfs' 'vala' 'intltool' 'libgee06' 'gtk3' 'libsm' 'libgnome-keyring')
+makedepends=('bzr' 'vala' 'intltool')
+conflicts=('gnome-encfs-manager')
+provides=('gnome-encfs-manager')
+install="$pkgname.install"
+source=("$pkgname"::'bzr+https://code.launchpad.net/~gencfsm/gencfsm/trunk')
+md5sums=('SKIP')
+
+pkgver() {
+
+ cd $pkgname
+
+ # bzr revno
+ printf "1.8.14+r%s" "$(bzr revno)"
+
+}
+
+build() {
+
+ cd "$srcdir/$pkgname"
+
+ msg2 " -> Build program ..."
+ ./autogen.sh
+ ./configure --prefix=/usr --disable-appindicator
+ make
+
+}
+
+package() {
+
+ cd "$srcdir/$pkgname"
+
+ msg2 " -> Installing program, icons and .desktop file ..."
+ make DESTDIR="$pkgdir" install
+
+}
+
+# vim: ts=2 sw=2 et: \ No newline at end of file
diff --git a/gnome-encfs-manager-bzr.install b/gnome-encfs-manager-bzr.install
new file mode 100644
index 00000000000..76a76b81d15
--- /dev/null
+++ b/gnome-encfs-manager-bzr.install
@@ -0,0 +1,20 @@
+pkgname=gencfsm
+
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ for icons in hicolor ubuntu-mono-light ubuntu-mono-dark Mint-X; do
+ if [ -e "/usr/share/icons/\$icons/index.theme" ]; then
+ gtk-update-icon-cache /usr/share/icons/\$icons 2>/dev/null
+ fi
+ done
+}
+
+pre_upgrade() {
+ if [ -f /usr/share/gconf/schemas/${pkgname}.schemas ]; then
+ gconfpkg --uninstall ${pkgname}
+ fi
+}
+
+post_upgrade() {
+ post_install $1
+}