summaryrefslogtreecommitdiff
path: root/~lukeshu/md/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-10-16 20:08:12 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-10-16 20:08:12 -0400
commit4a0d84ee70b7ed0343eeb0c09df08c991ff7d95c (patch)
tree37e7b194c0bafd56472413dcf948e94b4765baef /~lukeshu/md/PKGBUILD
parent68fa07be35a2514835c1272884219adc110abc3b (diff)
parent7701a796e16a4196b4e0602d37b9fabbcb077ba8 (diff)
downloadabslibre-4a0d84ee70b7ed0343eeb0c09df08c991ff7d95c.tar.gz
abslibre-4a0d84ee70b7ed0343eeb0c09df08c991ff7d95c.tar.bz2
abslibre-4a0d84ee70b7ed0343eeb0c09df08c991ff7d95c.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to '~lukeshu/md/PKGBUILD')
-rw-r--r--~lukeshu/md/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/~lukeshu/md/PKGBUILD b/~lukeshu/md/PKGBUILD
new file mode 100644
index 000000000..7f74aaa2c
--- /dev/null
+++ b/~lukeshu/md/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+pkgname=("md" "emacs-mdmua")
+pkgver=0.81
+pkgrel=4
+arch=('any')
+url="https://github.com/nicferrier/$_pkgname"
+license=('GPL3')
+
+makedepends=(python-distribute)
+
+#__gitbranch=1d69744 # This is the commit that is 0.81
+__gitbranch=455b6b4 # this is currently HEAD (has bugfixes)
+source=("nicferrier-md-${__gitbranch}.tar.gz::https://github.com/nicferrier/$pkgname/tarball/${__gitbranch}")
+
+build() {
+ cd "${srcdir}/nicferrier-md-${__gitbranch}"
+
+ # fix typo
+ sed -i 's/pyprofyfs/pyproxyfs/' setup.py
+}
+
+package_md() {
+ pkgdesc="A maildir client and library."
+ depends=('python' 'python-pyproxyfs')
+
+ cd "${srcdir}/nicferrier-md-${__gitbranch}"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_emacs-mdmua() {
+ pkgdesc="An Emacs mail user agent (MUA) build around md."
+ pkgver='0.72'
+ depends=("md=0.81" 'emacs>=24')
+
+ cd "${srcdir}/nicferrier-md-${__gitbranch}"
+ cd useragents/emacs
+ install -d ${pkgdir}/usr/share/emacs/site-lisp
+ install -m 644 *.el ${pkgdir}/usr/share/emacs/site-lisp
+}
+
+md5sums=('452727348df2f51d7eddade709aceb1c')