diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..14b9928d9773 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ + +# Maintainer: Victor Tran <vicr12345 at gmail dot com> +pkgname=thepackage +pkgver=1.0 +pkgrel=0 +pkgdesc="Package Manager for theOS" +arch=("x86_64") +url="https://github.com/vicr123/thepackage" +license=('GPL2') +depends=('qt5-base' 'xdg-utils') +makedepends=('qtchooser' 'git') +source=("$pkgname-$pkgver"::'git+https://github.com/vicr123/thepackage#branch=master') +md5sums=('SKIP') + +build() { + cd "$pkgname-$pkgver" + qmake + make +} + +package() { + mkdir -p "$pkgdir/usr/bin" + cp "$pkgname-$pkgver/thepackage" "$pkgdir/usr/bin" + mkdir -p "$pkgdir/usr/share/applications" + cp "$pkgname-$pkgver/thePackage.desktop" "$pkgdir/usr/share/applications" + cp "$pkgname-$pkgver/thePackageUpdate.desktop" "$pkgdir/usr/share/applications" +} |