aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mpop/APKBUILD
blob: cc26629f50bdc44549ca0dfee8bc726414aa5e15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contributor: z3bra <willy at mailoo dot org>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=mpop
pkgver=1.2.2
pkgrel=0
pkgdesc="A small an fast POP3 client"
url="http://$pkgname.sourceforge.net/"
arch="all"
license="GPL3"
depends=""
depends_dev="gnutls-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"

_builddir=$srcdir/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--with-ssl=gnutls \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="4ff3088fcbc94c70c66d6002435bfe9c  mpop-1.2.2.tar.xz"
sha256sums="d1e7d7d18147996cfc6195cdfb936ca51620cb841a7460043d8cc838ca48bfc3  mpop-1.2.2.tar.xz"
sha512sums="5cb78ac088fa5da4e6c8f049510e0aab986b73f062b05169482adf6b14cb9abe04f93bd4672837c3b406880f86e4bbf6f5dd8c5b98b1bcad485ac43ea48ae7c7  mpop-1.2.2.tar.xz"