iglunix/pkgs/qtwayland/build.sh

27 lines
404 B
Bash
Raw Normal View History

2021-07-31 11:34:19 +00:00
pkgname=qtwayland
pkgver=5.12
fetch() {
curl "https://invent.kde.org/qt/qt/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
mkdir $pkgname-$pkgver/.git
}
build() {
cd $pkgname-$pkgver
qmake
gmake
}
package() {
cd $pkgname-$pkgver
gmake INSTALL_ROOT=$pkgdir install
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}