From d41e5a33a49eb5dee9aab75b13a4139c4e54fad6 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 1 Nov 2014 19:06:04 +0100 Subject: dex-git: import --- .SRCINFO | 19 +++++++++++++++++++ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..5f2a24f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by makepkg 4.2.1 +# Mon Jun 1 15:00:44 UTC 2015 +pkgbase = dex-git + pkgdesc = Program to execute DesktopEntry files + pkgver = 0.7.r12.g2d158ca + pkgrel = 1 + url = https://github.com/jceb/dex + arch = any + license = GPL2 + makedepends = git + makedepends = python-sphinx + depends = python + provides = dex + conflicts = dex + source = git+https://github.com/jceb/dex.git + sha256sums = SKIP + +pkgname = dex-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..d72fb6d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +pkgname=dex-git +pkgver=0.7.r12.g2d158ca +pkgrel=1 + +pkgdesc="Program to execute DesktopEntry files" +url="https://github.com/jceb/dex" +license=('GPL2') +arch=('any') + +depends=('python') +makedepends=('git' 'python-sphinx') + +provides=('dex') +conflicts=('dex') + +source=('git+https://github.com/jceb/dex.git') + +sha256sums=('SKIP') + +pkgver() { + cd dex + git describe --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' +} + +build() { + cd dex + make +} + +package() { + cd dex + install -m755 -D dex "$pkgdir"/usr/bin/dex + install -D man/dex.1 "$pkgdir"/usr/share/man/man1/dex.1 +} -- cgit v1.2.3-70-g09d2