blob: fa2183f58cd58bff21dd43b3f74b66b2a9219767 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# maintainer: Mike Krüger <mikekrueger81[at]gmail.com>
pkgname=gnome-encfs-manager-bin
_pkgname=gnome-encfs-manager
pkgver=1.8.18
pkgrel=1
pkgdesc="An easy to use manager and mounter for encfs stashes"
arch=('x86_64')
depends=('encfs' 'libgee06' 'gtk3' 'libsm' 'libgnome-keyring' 'libappindicator-gtk3')
makedepends=('binutils' 'tar')
url="https://launchpad.net/gencfsm"
source=("http://download.opensuse.org/repositories/home:/moritzmolch:/gencfsm/Debian_8.0/amd64/gnome-encfs-manager_${pkgver}_amd64.deb")
sha256sums=('2899c5414bed90de2449ee9714898e8eba63d925faebcc1a9aa6f175581bbae3')
prepare() {
cd ${srcdir}
ar vx gnome-encfs-manager_${pkgver}_amd64.deb
tar -xf data.tar.xz
}
package(){
install -d $pkgdir/usr/bin
install -m755 ${srcdir}/usr/bin/${_pkgname} $pkgdir/usr/bin/
install -d $pkgdir/usr/share
install -d $pkgdir/usr/share/applications
install -Dm644 ${srcdir}/usr/share/applications/${_pkgname}.desktop $pkgdir/usr/share/applications/
install -d $pkgdir/usr/share/dbus-1/services/
install -Dm644 ${srcdir}/usr/share/dbus-1/services/com.libertyzero.gnome-encfs-manager.service $pkgdir/usr/share/dbus-1/services/
install -d $pkgdir/usr/share/glib-2.0/schemas/
install -Dm644 ${srcdir}/usr/share/glib-2.0/schemas/com.libertyzero.gnome-encfs-manager.gschema.xml $pkgdir/usr/share/glib-2.0/schemas/
install -d $pkgdir/usr/share/gnome-encfs-manager/
mv ${srcdir}/usr/share/gnome-encfs-manager/* $pkgdir/usr/share/gnome-encfs-manager/
install -d $pkgdir/usr/share/icons/
mv ${srcdir}/usr/share/icons/* $pkgdir/usr/share/icons/
install -d $pkgdir/usr/share/locale/
mv ${srcdir}/usr/share/locale/* $pkgdir/usr/share/locale/
}
|