summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2019-02-08 21:42:43 +0100
committerhaawda2019-02-08 21:42:43 +0100
commitc05d58d749a6a16cec7e305c1a2cd49112532a98 (patch)
treee54b589e977ad838cce4ae855f3a7fb070889281
parent7404686b4712e0c63fddae27627b33f9be4a0d34 (diff)
downloadaur-c05d58d749a6a16cec7e305c1a2cd49112532a98.tar.gz
adopted and incorporated most of the suggestions from AUR comments
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD16
-rw-r--r--mu-git.install20
3 files changed, 11 insertions, 34 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5b5d61339d6..dc7d3324a0d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,17 @@
pkgbase = mu-git
pkgdesc = mu and mu4e from git
- pkgver = v0.9.16.95.g7585506
+ pkgver = 1.0.154.g156c4211
pkgrel = 1
url = http://www.djcbsoftware.nl/code/mu
- install = mu-git.install
arch = i686
arch = x86_64
license = GPL
makedepends = git
- makedepends = libtool
depends = xapian-core
- depends = gmime
+ depends = guile
+ depends = gmime3
+ depends = json-glib
depends = sqlite3
- optdepends = guile: guile support,
optdepends = emacs: mu4e support
provides = mu
conflicts = mu
diff --git a/PKGBUILD b/PKGBUILD
index 05b5fe04625..798b810e8b7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,25 +2,23 @@
# Thanks to the maintainers and contributors of the mu binary package
pkgname=mu-git
-pkgver=v0.9.16.95.g7585506
+pkgver=1.0.154.g156c4211
pkgrel=1
-install=mu-git.install
pkgdesc="mu and mu4e from git"
arch=('i686' 'x86_64')
url="http://www.djcbsoftware.nl/code/mu"
-depends=(xapian-core gmime sqlite3)
-makedepends=(git libtool)
-optdepends=('guile: guile support',
- 'emacs: mu4e support')
+depends=('xapian-core' 'guile' 'gmime3' 'json-glib' 'sqlite3')
+makedepends=('git')
+optdepends=('emacs: mu4e support')
license=('GPL')
provides=('mu')
conflicts=('mu')
-
source=('git+https://github.com/djcb/mu.git')
md5sums=('SKIP')
+
pkgver() {
cd mu
- printf "%s" "$(git describe --tags|sed 's+-+.+g')"
+ printf "%s" "$(git describe --tags|tr - .|cut -c2-)"
}
build() {
@@ -32,5 +30,5 @@ build() {
package() {
cd mu
- make DESTDIR=$pkgdir install
+ make DESTDIR="$pkgdir" install
}
diff --git a/mu-git.install b/mu-git.install
deleted file mode 100644
index c98e3398d31..00000000000
--- a/mu-git.install
+++ /dev/null
@@ -1,20 +0,0 @@
-infodir=usr/share/info
-filelist=(mu-guile.info mu4e.info)
-
-post_install() {
- [[ -x usr/bin/install-info ]] || return 0
- for file in "${filelist[@]}"; do
- install-info "$infodir/$file.gz" "$infodir/dir" 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install "$1"
-}
-
-pre_remove() {
- [[ -x usr/bin/install-info ]] || return 0
- for file in "${filelist[@]}"; do
- install-info --delete "$infodir/$file.gz" "$infodir/dir" 2> /dev/null
- done
-} \ No newline at end of file