summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoremersion2015-08-31 17:03:03 +0200
committeremersion2015-08-31 17:03:03 +0200
commitb10755c32254cd672fc5fb90da3d656b314e1930 (patch)
tree1dc79d563aaef802d171bc1394a767513ef3106d /PKGBUILD
downloadaur-b10755c32254cd672fc5fb90da3d656b314e1930.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 34 insertions, 0 deletions
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
+}