blob: 787b2d4061c009e7d51f07dc0a052ad24a8ebbad (
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
40
41
42
43
|
# Contributor: Timo Teras <timo.teras@iki.fi>
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=rxmtp
pkgver=1.1.3
pkgrel=3
pkgdesc="Rewrite and eXchange smtp proxy"
url="http://dev.alpinelinux.org/alpine/rxmtp"
arch="all"
license="GPL"
depends=""
makedepends=""
install=
subpackages=""
source="http://dev.alpinelinux.org/alpine/$pkgname/$pkgname-$pkgver.tar.gz
fix-getline-clash.patch"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make PREFIX=/usr || return 1
}
package() {
cd "$_builddir"
make PREFIX=/usr DESTDIR="$pkgdir" install
}
md5sums="4b4fe71ed690251de6ee6ad58223d7a7 rxmtp-1.1.3.tar.gz
d6b781fce6fa6b463f4cd6762adf3575 fix-getline-clash.patch"
sha256sums="28bf8547e5fbbae6cbad0ed403cfe80c2bb558a97e4eae64dd6307a27d48eea4 rxmtp-1.1.3.tar.gz
78d79c9526bdea950293cd75edd0acba0430d9b2e26fb57e8b85dcf4f0cae8e6 fix-getline-clash.patch"
sha512sums="6cc470095fb175b2f7bee9d86168e38ad072c8a27c29aa715a915bc3b4977d0deb02f10c930889a4ec0568537b6a1e5e349346872ef5b28708fcde4b662d72d7 rxmtp-1.1.3.tar.gz
0602d1d77f1b8cb9b70b5636a971fcc9e8db18be70b91937b031bdd32b7f2a54ad0eaac3ad55d95e76066b03719c5c34816f45a07ef88046e9455210c5ad03c3 fix-getline-clash.patch"
|