diff options
-rw-r--r-- | .SRCINFO | 36 | ||||
-rw-r--r-- | MKPKG | 4 | ||||
-rw-r--r-- | PKGBUILD | 54 | ||||
-rw-r--r-- | pantheon-mail.install | 8 |
4 files changed, 57 insertions, 45 deletions
@@ -1,32 +1,40 @@ # Generated by mksrcinfo v8 -# Tue Mar 1 20:22:01 UTC 2016 +# Wed Mar 2 21:44:01 UTC 2016 pkgbase = pantheon-mail-bzr - pkgdesc = The Pantheon mail client - pkgver = r1986 + pkgdesc = The Pantheon Mail Client + pkgver = r1992 pkgrel = 1 url = https://launchpad.net/pantheon-mail install = pantheon-mail.install arch = i686 arch = x86_64 - groups = pantheon-unstable - license = LGPL2.1 + license = GPL3 makedepends = bzr makedepends = cmake + makedepends = gnome-doc-utils makedepends = gobject-introspection + makedepends = intltool makedepends = vala - makedepends = vte3 - depends = desktop-file-utils - depends = granite - depends = gtksourceview3 - depends = libpeas - depends = zeitgeist - depends = gmime - depends = webkitgtk + depends = cairo depends = gcr + depends = gdk-pixbuf2 + depends = glib2 + depends = glibc + depends = gmime + depends = gnome-keyring + depends = gtk3 depends = libcanberra + depends = libgee + depends = libnotify + depends = libsecret + depends = libxml2 + depends = pango + depends = sqlite + depends = webkitgtk + depends = libgranite.so provides = pantheon-mail conflicts = pantheon-mail - source = pantheon-mail::bzr+lp:pantheon-mail + source = bzr+lp:pantheon-mail sha256sums = SKIP pkgname = pantheon-mail-bzr diff --git a/MKPKG b/MKPKG new file mode 100644 index 000000000000..66c241e11f74 --- /dev/null +++ b/MKPKG @@ -0,0 +1,4 @@ +pkgname=('pantheon-mail-bzr') +builddeps=('granite-bzr') + +# vim: ts=2 sw=2 et: @@ -1,57 +1,55 @@ -# Maintainer: Riley Trautman <asonix@tamu.edu> +# Maintainer: Maxime Gauduin <alucryd@archlinux.org> +# Contributor: Riley Trautman <asonix@tamu.edu> -_pkgname=pantheon-mail -pkgname=$_pkgname-bzr -pkgver=r1986 +pkgname=pantheon-mail-bzr +pkgver=r1992 pkgrel=1 -pkgdesc='The Pantheon mail client' +pkgdesc='The Pantheon Mail Client' arch=('i686' 'x86_64') url='https://launchpad.net/pantheon-mail' -license=('LGPL2.1') -groups=('pantheon-unstable') -depends=('desktop-file-utils' 'granite' 'gtksourceview3' 'libpeas' - 'zeitgeist' 'gmime' 'webkitgtk' 'gcr' 'libcanberra') -makedepends=('bzr' 'cmake' 'gobject-introspection' 'vala' 'vte3') -optdepends=() -provides=("$_pkgname") -conflicts=("$_pkgname") -install="$_pkgname.install" -source=('pantheon-mail::bzr+lp:pantheon-mail') +license=('GPL3') +depends=('cairo' 'gcr' 'gdk-pixbuf2' 'glib2' 'glibc' 'gmime' 'gnome-keyring' + 'gtk3' 'libcanberra' 'libgee' 'libnotify' 'libsecret' 'libxml2' + 'pango' 'sqlite' 'webkitgtk' + 'libgranite.so') +makedepends=('bzr' 'cmake' 'gnome-doc-utils' 'gobject-introspection' 'intltool' + 'vala') +provides=('pantheon-mail') +conflicts=('pantheon-mail') +install='pantheon-mail.install' +source=('bzr+lp:pantheon-mail') sha256sums=('SKIP') pkgver() { - cd $_pkgname + cd pantheon-mail echo "r$(bzr revno)" } prepare() { - cd $_pkgname - - sed -i 's/gtkspell-3.0/gtkspell3-3.0/' CMakeLists.txt -} - -build() { - cd $_pkgname + cd pantheon-mail if [[ -d build ]]; then rm -rf build fi + mkdir build +} - mkdir build && cd build +build() { + cd pantheon-mail/build cmake .. \ - -DCMAKE_BUILD_TYPE='Release' \ -DCMAKE_INSTALL_PREFIX='/usr' \ - -DGSETTINGS_COMPILE='OFF' + -DDESKTOP_UPDATE='FALSE' \ + -DGSETTINGS_COMPILE='FALSE' \ + -DGSETTINGS_COMPILE_IN_PLACE='FALSE' make } package() { - cd $_pkgname/build + cd pantheon-mail/build make DESTDIR="${pkgdir}" install } # vim: ts=2 sw=2 et: - diff --git a/pantheon-mail.install b/pantheon-mail.install index 088d4ccc401f..b1b744355dff 100644 --- a/pantheon-mail.install +++ b/pantheon-mail.install @@ -1,13 +1,15 @@ post_install() { - glib-compile-schemas /usr/share/glib-2.0/schemas + glib-compile-schemas usr/share/glib-2.0/schemas update-desktop-database -q } -post_upgrade() { +post_upgrade() +{ post_install } -post_remove() { +post_remove() +{ post_install } |