aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/minicom/APKBUILD26
1 files changed, 6 insertions, 20 deletions
diff --git a/main/minicom/APKBUILD b/main/minicom/APKBUILD
index c632bb5c5c..6161e5f297 100644
--- a/main/minicom/APKBUILD
+++ b/main/minicom/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=minicom
-pkgver=2.7
-pkgrel=3
+pkgver=2.7.1
+pkgrel=0
pkgdesc="menu driven communications program for terminals"
url="http://alioth.debian.org/projects/minicom"
arch="all"
@@ -15,19 +15,9 @@ source="http://alioth.debian.org/frs/download.php/file/3977/minicom-$pkgver.tar.
fix-includes.patch
"
-_builddir="$srcdir"/$pkgname-$pkgver
-
-prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
+builddir="$srcdir"/$pkgname-${pkgver%.*}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -40,13 +30,9 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="7044ca3e291268c33294f171d426dc2d minicom-2.7.tar.gz
-6218cc85154a5ca11e7adee7df287769 fix-includes.patch"
-sha256sums="9ac3a663b82f4f5df64114b4792b9926b536c85f59de0f2d2b321c7626a904f4 minicom-2.7.tar.gz
-8f7e3da86757743f66602823df99eeab40bbcd36c4e0d270f4592fbae8f32f01 fix-includes.patch"
-sha512sums="eb9679ac3a3d3585ea06c54407567898e50b981378656e7f8a241071c91054ff0928cc9023d2c79d1936588cdffa9426f4962b556e8daa1783add0c5ac59b5af minicom-2.7.tar.gz
+sha512sums="eb9679ac3a3d3585ea06c54407567898e50b981378656e7f8a241071c91054ff0928cc9023d2c79d1936588cdffa9426f4962b556e8daa1783add0c5ac59b5af minicom-2.7.1.tar.gz
5acff3efb0b8b02333291722044d7c473bf19eec8a26e66c0e0f41895f3e3f071dff13515ec20f7ce17368732e3674f0a42b38602e61b04e9cd70e61012641ff fix-includes.patch"