summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoremersion2015-08-31 17:03:03 +0200
committeremersion2015-08-31 17:03:03 +0200
commitb10755c32254cd672fc5fb90da3d656b314e1930 (patch)
tree1dc79d563aaef802d171bc1394a767513ef3106d
downloadaur-b10755c32254cd672fc5fb90da3d656b314e1930.tar.gz
Initial commit
-rw-r--r--.SRCINFO30
-rw-r--r--PKGBUILD34
-rw-r--r--geary.install20
3 files changed, 84 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..08faa362cf1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,30 @@
+pkgbase = geary-git
+ pkgdesc = A new lightweight, easy-to-use, feature-rich email client (beta version)
+ pkgver = r1596.230c5ff
+ pkgrel = 1
+ url = http://redmine.yorba.org/projects/geary
+ install = geary.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = cmake
+ makedepends = vala
+ makedepends = git
+ makedepends = intltool
+ depends = libcanberra
+ depends = gmime
+ depends = libunique3
+ depends = webkitgtk3
+ depends = libgnome-keyring
+ depends = libnotify
+ depends = libgee
+ depends = hicolor-icon-theme
+ depends = desktop-file-utils
+ depends = gobject-introspection
+ provides = geary
+ conflicts = geary
+ source = git://git.gnome.org/geary
+ md5sums = SKIP
+
+pkgname = geary-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..104b8d4bda3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Techlive Zheng <techlivezheng@gmail.com>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
+
+pkgname=geary-git
+pkgver=r1596.230c5ff
+pkgrel=1
+pkgdesc="A new lightweight, easy-to-use, feature-rich email client (beta version)"
+arch=(i686 x86_64)
+url="http://redmine.yorba.org/projects/geary"
+license=('GPL')
+depends=('libcanberra' 'gmime' 'libunique3' 'webkitgtk3' 'libgnome-keyring' 'libnotify' 'libgee' 'hicolor-icon-theme' 'desktop-file-utils' 'gobject-introspection')
+makedepends=('cmake' 'vala' 'git' 'intltool')
+provides=('geary')
+conflicts=('geary')
+install=geary.install
+source=('git://git.gnome.org/geary')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/geary"
+ printf "r%s.%s" "$(git rev-list --count master)" "$(git rev-parse --short master)"
+}
+
+build() {
+ cd "$srcdir/geary"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/geary"
+ make install DESTDIR="$pkgdir"
+ install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
diff --git a/geary.install b/geary.install
new file mode 100644
index 00000000000..8f7b48266ad
--- /dev/null
+++ b/geary.install
@@ -0,0 +1,20 @@
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ xdg-icon-resource forceupdate --theme hicolor
+}
+
+pre_upgrade() {
+ if [ -f usr/share/gconf/schemas/geary.schemas ]; then
+ usr/sbin/gconfpkg --uninstall geary
+ fi
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+} \ No newline at end of file