updated PKGBUILD files

This commit is contained in:
Martchus 2015-04-30 01:03:39 +02:00
parent ae1f543dec
commit b2ad1b46f8
2 changed files with 4 additions and 2 deletions

View File

@ -9,17 +9,18 @@ makedepends=('qt5-tools')
install=${pkgname}.install
url="https://github.com/Martchus/videodownloader"
source=("videodownloader-${pkgver}.tar.gz::https://github.com/Martchus/videodownloader/archive/v${pkgver}.tar.gz")
_reponame=videodownloader
sha256sums=('9e3802e4ed47a4efb2d4f8a6ed5daf3e')
# head end
build() {
cd $srcdir/$pkgname
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" -r -spec linux-g++
make
}
package() {
cd $srcdir/$pkgname
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
make install
}

View File

@ -9,6 +9,7 @@ depends=('mingw-w64-crt' 'mingw-w64-qt5-base' 'mingw-w64-qtutilities' 'mingw-w64
makedepends=('mingw-w64-gcc')
url="https://github.com/Martchus/videodownloader"
source=("videodownloader-${pkgver}.tar.gz::https://github.com/Martchus/videodownloader/archive/v${pkgver}.tar.gz")
_reponame=videodownloader
md5sums=('4e94aff9225d8873f752995c1bcc5f15')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"