aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-11-02 17:40:28 +0200
committerTimo Teräs <timo.teras@iki.fi>2016-11-02 17:40:43 +0200
commite300694525500c8f7949424e4d56eba63e9cedd7 (patch)
tree8502840a5bc1849620c5b60a763afdcb3b9721a4
parentbea929b9185a8c1e23a1639b922e1f74a812a909 (diff)
downloadaports-e300694525500c8f7949424e4d56eba63e9cedd7.tar.gz
aports-e300694525500c8f7949424e4d56eba63e9cedd7.tar.bz2
aports-e300694525500c8f7949424e4d56eba63e9cedd7.tar.xz
main/qextserialport: fix source, simplify aport
-rw-r--r--main/qextserialport/APKBUILD16
1 files changed, 5 insertions, 11 deletions
diff --git a/main/qextserialport/APKBUILD b/main/qextserialport/APKBUILD
index 9ec1e0f801..31cd0509e3 100644
--- a/main/qextserialport/APKBUILD
+++ b/main/qextserialport/APKBUILD
@@ -13,27 +13,21 @@ depends_dev="qt-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
-source="http://qextserialport.googlecode.com/files/qextserialport-$_pkgver.zip"
+source="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/qextserialport/qextserialport-$_pkgver.zip"
-_builddir="$srcdir"/qextserialport-$_pkgver
+builddir="$srcdir"/qextserialport-$_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
+ default_prepare
echo "QEXTSERIALPORT_LIBRARY=yes" > config.pri
}
build() {
- cd "$_builddir"
+ cd "$builddir"
qmake && make
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make INSTALL_ROOT="$pkgdir" install
}