summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 64035ac55f35d6adef43a95791643e6bbf94db53 (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
# Maintainer: Aaron Ogle <aaron@geekgonecrazy.com>

pkgname=openwmail
pkgver=1.0.0
pkgverdash=1-0-0
pkgrel=2
pkgdesc="openwmail"
arch=('x86_64')
license=('MLP-2.0')
url="https://github.com/openwmail/openwmail"
options=()

source_x86_64=("https://github.com/openWMail/openWMail/releases/download/v${pkgver}/openWMail_${pkgverdash}_Linux_x86_64.deb")
md5sums_x86_64=('d84ceea682905b58531c43f5962317fb')

depends=('libnotify' 'gconf')
optdepends=()

package() {
	echo "package freaking base ${pkgbase}"
        cd "${srcdir}"

        tar xf data.tar.gz -C "${pkgdir}"

        chmod 755 $pkgdir/opt
        chmod 755 $pkgdir/usr
        chmod 755 $pkgdir/usr/share
        chmod 755 $pkgdir/usr/share/applications

        mkdir -p "$pkgdir/usr/bin"
	chmod +x /opt/openwmail/openWMail
        ln -s /opt/openwmail/openWMail ${pkgdir}/usr/bin
}