summaryrefslogtreecommitdiff
path: root/community/mpop
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-04-29 04:05:57 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-04-29 04:05:57 +0000
commit88f9886de50562f083fa45359821567b0a880ea0 (patch)
tree9d6e6861bee113342e27578c9024b17a3d4ceb5f /community/mpop
parent84fbb975eaab5e85082b96147a85031f1912646e (diff)
Tue Apr 29 04:01:38 UTC 2014
Diffstat (limited to 'community/mpop')
-rw-r--r--community/mpop/PKGBUILD30
-rw-r--r--community/mpop/mpop.install16
2 files changed, 46 insertions, 0 deletions
diff --git a/community/mpop/PKGBUILD b/community/mpop/PKGBUILD
new file mode 100644
index 000000000..2c0ce660d
--- /dev/null
+++ b/community/mpop/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Israel Herraiz <isra@herraiz.org>
+# Contributor: Roberto Alsina <ralsina@kde.org>
+
+pkgname=mpop
+pkgver=1.0.28
+pkgrel=2
+pkgdesc="A small, fast POP3 client suitable as a fetchmail replacement"
+arch=('i686' 'x86_64')
+url="http://mpop.sourceforge.net/"
+license=('GPL3')
+depends=('gnutls' 'libidn')
+install=mpop.install
+source=("http://downloads.sourceforge.net/mpop/mpop-$pkgver.tar.bz2")
+md5sums=('08301208b1f1a40bc5375fea61de3696')
+options=(debug !strip)
+
+build() {
+ cd "$srcdir/mpop-$pkgver"
+
+ ./configure --prefix=/usr --with-ssl=gnutls
+ make
+}
+
+package() {
+ cd "$srcdir/mpop-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 doc/mpoprc.example "$pkgdir/usr/share/mpop/mpoprc.example"
+}
diff --git a/community/mpop/mpop.install b/community/mpop/mpop.install
new file mode 100644
index 000000000..20b79ef3f
--- /dev/null
+++ b/community/mpop/mpop.install
@@ -0,0 +1,16 @@
+infodir=/usr/share/info
+
+post_install() {
+ install-info "$infodir/mpop.info" "$infodir/dir" 2>/dev/null
+
+ echo "==> Sample config: /usr/share/mpop/mpoprc.example"
+ echo "==> Copy it to your home folder as ~/.mpoprc."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ install-info --delete "$infodir/mpop.info" "$infodir/dir" 2>/dev/null
+}