summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoraksr2015-07-06 09:17:01 +0200
committeraksr2015-07-06 09:17:01 +0200
commitaad9c44adec812b632df7233d5f67c64b98aa2aa (patch)
treee1b34c5f49d28886858812da754887e3705883dc
downloadaur-aad9c44adec812b632df7233d5f67c64b98aa2aa.tar.gz
Start.
-rw-r--r--.SRCINFO46
-rw-r--r--PKGBUILD72
2 files changed, 118 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..989c1bca4c9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,46 @@
+pkgbase = nmh
+ pkgdesc = Powerful electronic mail handling system, based on a set of command-line utilities.
+ pkgver = 1.6
+ pkgrel = 2
+ url = http://www.nongnu.org/nmh/
+ arch = i686
+ arch = x86_64
+ license = BSD
+ depends = db
+ depends = openssl
+ depends = libsasl
+ provides = nmh
+ conflicts = nmh-git
+ backup = etc/nmh/MailAliases
+ backup = etc/nmh/components
+ backup = etc/nmh/digestcomps
+ backup = etc/nmh/distcomps
+ backup = etc/nmh/forwcomps
+ backup = etc/nmh/mhl.body
+ backup = etc/nmh/mhl.digest
+ backup = etc/nmh/mhl.format
+ backup = etc/nmh/mhl.forward
+ backup = etc/nmh/mhl.headers
+ backup = etc/nmh/mhl.reply
+ backup = etc/nmh/mhn.defaults
+ backup = etc/nmh/mts.conf
+ backup = etc/nmh/rcvdistcomps
+ backup = etc/nmh/rcvdistcomps.outbox
+ backup = etc/nmh/replcomps
+ backup = etc/nmh/replgroupcomps
+ backup = etc/nmh/scan.MMDDYY
+ backup = etc/nmh/scan.YYYYMMDD
+ backup = etc/nmh/scan.default
+ backup = etc/nmh/scan.mailx
+ backup = etc/nmh/scan.nomime
+ backup = etc/nmh/scan.size
+ backup = etc/nmh/scan.time
+ backup = etc/nmh/scan.timely
+ backup = etc/nmh/scan.unseen
+ source = http://download.savannah.nongnu.org/releases/nmh/nmh-1.6.tar.gz
+ md5sums = 766ff2d37736aef76243df9c6610cb77
+ sha1sums = d424a7520c85abfdbd492f70cdae7fce51a88a7f
+ sha256sums = 29338ae2bc8722fe8a5904b7b601a63943b72b07b6fcda53f3a354edb6a64bc3
+
+pkgname = nmh
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5bcfd7fbaaf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,72 @@
+# Contributor: Chris Brannon <cmbrannon79@gmail.com>
+# Maintainer: aksr <aksr at t-com dot me>
+pkgname=nmh
+pkgver=1.6
+pkgrel=2
+epoch=
+pkgdesc="Powerful electronic mail handling system, based on a set of command-line utilities."
+arch=('i686' 'x86_64')
+license=('BSD')
+url="http://www.nongnu.org/nmh/"
+groups=()
+depends=('db' 'openssl' 'libsasl')
+makedepends=()
+checkdepends=()
+provides=('nmh')
+optdepends=()
+conflicts=('nmh-git')
+replaces=()
+backup=(etc/nmh/MailAliases
+ etc/nmh/components
+ etc/nmh/digestcomps
+ etc/nmh/distcomps
+ etc/nmh/forwcomps
+ etc/nmh/mhl.body
+ etc/nmh/mhl.digest
+ etc/nmh/mhl.format
+ etc/nmh/mhl.forward
+ etc/nmh/mhl.headers
+ etc/nmh/mhl.reply
+ etc/nmh/mhn.defaults
+ etc/nmh/mts.conf
+ etc/nmh/rcvdistcomps
+ etc/nmh/rcvdistcomps.outbox
+ etc/nmh/replcomps
+ etc/nmh/replgroupcomps
+ etc/nmh/scan.MMDDYY
+ etc/nmh/scan.YYYYMMDD
+ etc/nmh/scan.default
+ etc/nmh/scan.mailx
+ etc/nmh/scan.nomime
+ etc/nmh/scan.size
+ etc/nmh/scan.time
+ etc/nmh/scan.timely
+ etc/nmh/scan.unseen)
+changelog=
+install=
+source=("http://download.savannah.nongnu.org/releases/nmh/$pkgname-$pkgver.tar.gz")
+noextract=()
+options=()
+md5sums=('766ff2d37736aef76243df9c6610cb77')
+sha1sums=('d424a7520c85abfdbd492f70cdae7fce51a88a7f')
+sha256sums=('29338ae2bc8722fe8a5904b7b601a63943b72b07b6fcda53f3a354edb6a64bc3')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libdir=/usr/lib/$pkgname \
+ --libexecdir=/usr/lib/$pkgname \
+ --with-cyrus-sasl \
+ --with-tls
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+ mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
+ install -m644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/"
+}
+