[arch-commits] Commit in (mpop mpop/PKGBUILD mpop/mpop.install)

Lukas Fleischer lfleischer at nymeria.archlinux.org
Mon Apr 28 21:15:47 UTC 2014


    Date: Monday, April 28, 2014 @ 23:15:47
  Author: lfleischer
Revision: 110397

Initial import of mpop

Added:
  mpop/
  mpop/PKGBUILD
  mpop/mpop.install

--------------+
 PKGBUILD     |   30 ++++++++++++++++++++++++++++++
 mpop.install |   16 ++++++++++++++++
 2 files changed, 46 insertions(+)

Added: mpop/PKGBUILD
===================================================================
--- mpop/PKGBUILD	                        (rev 0)
+++ mpop/PKGBUILD	2014-04-28 21:15:47 UTC (rev 110397)
@@ -0,0 +1,30 @@
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Israel Herraiz <isra at herraiz.org>
+# Contributor: Roberto Alsina <ralsina at 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"
+}

Added: mpop/mpop.install
===================================================================
--- mpop/mpop.install	                        (rev 0)
+++ mpop/mpop.install	2014-04-28 21:15:47 UTC (rev 110397)
@@ -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
+}




More information about the arch-commits mailing list