diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..74477bbc26cf --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = gunrc + pkgdesc = GunRC - GTK Universal Network Remote Control + pkgver = 0.1 + pkgrel = 1 + url = https://github.com/maccyber/gunrc + arch = x86_64 + arch = i686 + license = GPLv3 + makedepends = git + depends = python + depends = pygtk + depends = python-gobject + source = git+https://github.com/maccyber/gunrc.git + md5sums = SKIP + +pkgname = gunrc + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..256c1df899b4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Maccyber <jonas.enge@gmail.com> +pkgname=gunrc +pkgver=0.1 +pkgrel=1 +pkgdesc="GunRC - GTK Universal Network Remote Control" +url="https://github.com/maccyber/gunrc" +arch=('x86_64' 'i686') +license=('GPLv3') +depends=('python' 'pygtk' 'python-gobject') +optdepends=() +makedepends=('git') +conflicts=() +replaces=() +backup=() +install='' +source=("git+https://github.com/maccyber/gunrc.git") +md5sums=('SKIP') + +package() { + cd "${srcdir}/${pkgname}" + mkdir -p "$pkgdir/opt/$pkgname" + mkdir -p "$pkgdir/usr/share/$pkgname" + mv gunrc "$pkgdir/opt/" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 gunrc.desktop "$pkgdir/usr/share/applications/gunrc.desktop" + install -Dm755 gunrc.sh "$pkgdir/usr/bin/gunrc" + install -Dm644 conf/*.xml "$pkgdir/usr/share/$pkgname/" +} + |