summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Ogle2017-05-05 17:24:05 +0000
committerAaron Ogle2017-05-05 17:24:05 +0000
commitc6c3c33e3bae2a375b9cddeef9cdfd168f5a4fe3 (patch)
tree86b4794380488679208c976f77916f50e3e54a74
downloadaur-c6c3c33e3bae2a375b9cddeef9cdfd168f5a4fe3.tar.gz
initial
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD33
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2512c008a11
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = openwmail
+ pkgdesc = openwmail
+ pkgver = 1.0.0
+ pkgrel = 1
+ url = https://github.com/openwmail/openwmail
+ arch = x86_64
+ license = MLP-2.0
+ depends = libnotify
+ depends = gconf
+ source_x86_64 = https://github.com/openWMail/openWMail/releases/download/v1.0.0/openWMail_1-0-0_Linux_x86_64.deb
+ md5sums_x86_64 = d84ceea682905b58531c43f5962317fb
+
+pkgname = openwmail
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..81585507677
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Aaron Ogle <aaron@geekgonecrazy.com>
+
+pkgname=openwmail
+pkgver=1.0.0
+pkgverdash=1-0-0
+pkgrel=1
+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"
+ ln -s /opt/openwmail/openWMail ${pkgdir}/usr/bin
+}
+