Skip to content

Instantly share code, notes, and snippets.

@ZoomTen
Created June 17, 2020 13:54
Show Gist options
  • Save ZoomTen/2853266b2060d563654cffa9dbcb1d49 to your computer and use it in GitHub Desktop.
Save ZoomTen/2853266b2060d563654cffa9dbcb1d49 to your computer and use it in GitHub Desktop.
Sample PKGBUILD for theApp
pkgname=theapp
pkgver=0.01
pkgrel=0
pkgdesc="A sample app for the-libs"
arch=("x86_64")
url="https://github.com/ZoomTen/theApp"
license=('GPL3')
depends=('qt5-base' 'the-libs')
makedepends=('git')
source=("$pkgname-$pkgver"::'git+https://github.com/ZoomTen/theApp#branch=master')
md5sums=('SKIP')
build() {
cd "$pkgname-$pkgver"
mkdir "build"
cd "build"
qmake ../theApp.pro
make
}
package() {
cd "$pkgname-$pkgver/build"
make install INSTALL_ROOT=$pkgdir
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment