diff options
-rw-r--r-- | main/libquvi-scripts/APKBUILD | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/main/libquvi-scripts/APKBUILD b/main/libquvi-scripts/APKBUILD index cf8c2baed7..0ea6f25555 100644 --- a/main/libquvi-scripts/APKBUILD +++ b/main/libquvi-scripts/APKBUILD @@ -7,34 +7,24 @@ pkgdesc="scripts for libquvi - the library for parsing video download links" url="http://quvi.sourceforge.net/" arch="noarch" license="LGPLv2+" -depends= -depends_dev="" -makedepends="$depends_dev" -install="" subpackages="$pkgname-dev $pkgname-doc" -source="http://downloads.sourceforge.net/project/quvi/${pkgver%.*}/$pkgname/libquvi-scripts-$pkgver.tar.xz" +source="http://downloads.sourceforge.net/project/quvi/${pkgver%.*}/$pkgname/$pkgname-$pkgver.tar.xz" +builddir="$srcdir/$pkgname-$pkgver" -_builddir="$srcdir"/libquvi-scripts-$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 - update_config_guess || return 1 + default_prepare || return 1 + update_config_guess } build() { - cd "$_builddir" + cd "$builddir" ./configure --prefix=/usr \ || return 1 make || return 1 } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } |