summaryrefslogtreecommitdiff
path: root/testing/fetchmail/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/fetchmail/PKGBUILD')
-rw-r--r--testing/fetchmail/PKGBUILD42
1 files changed, 0 insertions, 42 deletions
diff --git a/testing/fetchmail/PKGBUILD b/testing/fetchmail/PKGBUILD
deleted file mode 100644
index f4045b5c2..000000000
--- a/testing/fetchmail/PKGBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# $Id: PKGBUILD 165877 2012-09-02 12:54:03Z pierre $
-
-pkgname=fetchmail
-pkgver=6.3.22
-pkgrel=1
-pkgdesc="A remote-mail retrieval utility"
-arch=('i686' 'x86_64')
-url="http://fetchmail.berlios.de/"
-license=('GPL')
-depends=('openssl')
-makedepends=('python2')
-optdepends=('tk: for using fetchmailconf'
- 'python2: for using fetchmailconf')
-backup=('etc/conf.d/fetchmail')
-options=('!makeflags')
-install='fetchmail.install'
-source=("http://downloads.sourceforge.net/$pkgname/${pkgname}-${pkgver}.tar.xz"
- "http://downloads.sourceforge.net/$pkgname/${pkgname}-${pkgver}.tar.xz.asc"
- 'fetchmail.rc' 'fetchmail.conf' 'fetchmail.tmpfiles' 'fetchmail.service')
-sha1sums=('3bb755010dbe568d53840e22d8e87d8d5db25b19'
- '27184b75ef09c5202bede9863ae8abc3d0cdb1d2'
- 'fc25180f1add26df0a3bdaac03fd9d2e3473ff88'
- '30401729386d6f774c6c36ab8530842166de54a8'
- '199ba749c829f22286c34aabcf8b7dd5bbd7c0e6'
- '11ff81fc8363a54099880da18634b0d1ecf9fa82')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i 's|/usr/bin/env python|/usr/bin/env python2|' fetchmailconf.py
- PYTHON=python2 ./configure --prefix=/usr --with-ssl=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -Dm755 "${srcdir}/fetchmail.rc" "${pkgdir}/etc/rc.d/fetchmail"
- install -Dm644 "${srcdir}/fetchmail.conf" "${pkgdir}/etc/conf.d/fetchmail"
- install -d -o 90 -g nobody "${pkgdir}/var/lib/fetchmail"
- install -D -m644 ${srcdir}/fetchmail.tmpfiles ${pkgdir}/usr/lib/tmpfiles.d/fetchmail.conf
- install -D -m644 ${srcdir}/fetchmail.service ${pkgdir}/usr/lib/systemd/system/fetchmail.service
-}