summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoremersion2017-09-30 17:18:08 +0200
committeremersion2017-09-30 17:18:08 +0200
commit80ccd4682bbd98327db215e00a5331fc9f0d4011 (patch)
treec42a0375ff6d41c932b257b882407b49777e12ba
parent2e1cca145e907bcb65215b1d78e6692a33ce8da0 (diff)
downloadaur-80ccd4682bbd98327db215e00a5331fc9f0d4011.tar.gz
Use hooks instead of install file
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD8
-rw-r--r--geary.install20
3 files changed, 5 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c382ed001e6..49df640d52f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,8 @@
pkgbase = geary-git
pkgdesc = A new lightweight, easy-to-use, feature-rich email client (beta version)
- pkgver = r3042.5ab6f426
+ pkgver = r3094.6154e2ea
pkgrel = 1
url = https://wiki.gnome.org/Apps/Geary
- install = geary.install
arch = i686
arch = x86_64
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index 3cc86cb5700..832f5797c69 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
-# Maintainer: Techlive Zheng <techlivezheng@gmail.com>
+# Maintainer: emersion <contact emersion fr>
+# Contributor: Techlive Zheng <techlivezheng@gmail.com>
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=geary-git
-pkgver=r3042.5ab6f426
+pkgver=r3094.6154e2ea
pkgrel=1
pkgdesc="A new lightweight, easy-to-use, feature-rich email client (beta version)"
arch=(i686 x86_64)
@@ -12,7 +13,6 @@ depends=('libcanberra' 'gmime' 'webkit2gtk' 'libgnome-keyring' 'libnotify' 'libg
makedepends=('cmake' 'vala' 'git' 'intltool' 'gnome-doc-utils')
provides=('geary')
conflicts=('geary')
-install=geary.install
source=('git://git.gnome.org/geary')
md5sums=('SKIP')
@@ -23,7 +23,7 @@ pkgver() {
build() {
cd "$srcdir/geary"
- ./configure --prefix=/usr
+ ./configure --prefix=/usr --disable-schemas-compile --disable-desktop-update --disable-icon-update
make
}
diff --git a/geary.install b/geary.install
deleted file mode 100644
index 8f7b48266ad..00000000000
--- a/geary.install
+++ /dev/null
@@ -1,20 +0,0 @@
-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