diff options
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 00000000000..9d367bdc0b2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by makepkg 5.0.0 +# Wed Feb 17 10:38:27 UTC 2016 +pkgbase = thefile + pkgdesc = File Manager for theOS + pkgver = 1.0 + pkgrel = 0 + url = https://github.com/vicr123/thefile + arch = x86_64 + license = GPL2 + makedepends = qtchooser + makedepends = git + depends = kwidgetsaddons + depends = xdg-utils + source = thefile-1.0::git+https://github.com/vicr123/thefile#branch=master + md5sums = SKIP + +pkgname = thefile + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000000..487f54cf93b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ + +# Maintainer: Victor Tran <vicr12345 at gmail dot com> +pkgname=thefile +pkgver=1.0 +pkgrel=0 +pkgdesc="File Manager for theOS" +arch=("x86_64") +url="https://github.com/vicr123/thefile" +license=('GPL2') +depends=('kwidgetsaddons' 'xdg-utils') +makedepends=('qtchooser' 'git') +source=("$pkgname-$pkgver"::'git+https://github.com/vicr123/thefile#branch=master') +md5sums=('SKIP') + +build() { + cd "$pkgname-$pkgver" + qmake + make +} + +package() { + mkdir -p "$pkgdir/usr/bin" + cp "$pkgname-$pkgver/thefile" "$pkgdir/usr/bin" + mkdir -p "$pkgdir/usr/share/applications" + cp "$pkgname-$pkgver/theFile.desktop" "$pkgdir/usr/share/applications" +} |