diff options
Diffstat (limited to 'main/qextserialport/APKBUILD')
-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 } |