summaryrefslogtreecommitdiff
path: root/md/md-0.81/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-12-23 14:05:12 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-12-23 14:05:12 -0500
commit46f85b6c947ca5c1609fdf33d983236c7ad57d54 (patch)
tree9416942583603a4bf6019d7e905d13e1d6095ca8 /md/md-0.81/PKGBUILD
parent34ad91e43a253c6af43cd6dbabdcb775ec92c33b (diff)
Add all of the packages I've been keeping out of abslibre either for freedom or stability issues.
* dosemu ** Problems compiling ** No 100% free image to use with it. * md/*: I can't get it to work. * todo/kinect-rgbdemo: Can't get it to work. * todo/yuicompressor: create a SRCBUILD to make libre sources
Diffstat (limited to 'md/md-0.81/PKGBUILD')
-rw-r--r--md/md-0.81/PKGBUILD59
1 files changed, 59 insertions, 0 deletions
diff --git a/md/md-0.81/PKGBUILD b/md/md-0.81/PKGBUILD
new file mode 100644
index 0000000..9936e3b
--- /dev/null
+++ b/md/md-0.81/PKGBUILD
@@ -0,0 +1,59 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+pkgname=("md" "emacs-mdmua")
+pkgver=0.81
+pkgrel=2
+arch=('any')
+url="https://github.com/nicferrier/$_pkgname"
+license=('GPL3')
+options=(!emptydirs)
+
+_gitname=$pkgname
+__gitroot="https://github.com/nicferrier/${_gitname}.git"
+__gitbranch='1d69744257' # This is the commit that is 0.81
+
+build() {
+ cd "${srcdir}"
+ msg "Connecting to GIT server...."
+
+ if [ -d ${_gitname} ] ; then
+ cd ${_gitname}
+ git checkout master
+ git pull origin
+ msg "The local files are updated."
+ else
+ git clone ${__gitroot} ${_gitname}
+ cd ${_gitname}
+ fi
+ git checkout ${__gitbranch}
+ cd ..
+
+ msg "GIT checkout done or server timeout"
+ msg "Starting make..."
+
+ rm -rf "$srcdir/$_gitname-build"
+ git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
+ cd "$srcdir/$_gitname-build"
+
+ # fix typo
+ sed -i 's/pyprofyfs/pyproxyfs/' "${srcdir}/${_gitname}/setup.py"
+}
+
+package_md() {
+ pkgdesc="A maildir client and library."
+ depends=('python' 'python-pyproxyfs')
+
+ cd "${srcdir}/${_gitname}"
+ 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}/${_gitname}"
+ cd useragents/emacs
+ install -d ${pkgdir}/usr/share/emacs/24/site-lisp
+ install -m 644 *.el ${pkgdir}/usr/share/emacs/24/site-lisp
+}