diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-11-02 17:40:28 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-11-02 17:40:43 +0200 |
commit | e300694525500c8f7949424e4d56eba63e9cedd7 (patch) | |
tree | 8502840a5bc1849620c5b60a763afdcb3b9721a4 /main/qextserialport | |
parent | bea929b9185a8c1e23a1639b922e1f74a812a909 (diff) | |
download | aports-e300694525500c8f7949424e4d56eba63e9cedd7.tar.bz2 aports-e300694525500c8f7949424e4d56eba63e9cedd7.tar.xz |
main/qextserialport: fix source, simplify aport
Diffstat (limited to 'main/qextserialport')
-rw-r--r-- | main/qextserialport/APKBUILD | 16 |
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 } |