diff options
author | Tomáš Vyčítal | 2018-02-06 23:02:30 +0100 |
---|---|---|
committer | Tomáš Vyčítal | 2018-02-06 23:02:30 +0100 |
commit | eb7f22f7ccecb65421c299bd781010aeb5b5ce78 (patch) | |
tree | 12038077e3da0066f98713bd8a79464e392db7dc | |
download | aur-eb7f22f7ccecb65421c299bd781010aeb5b5ce78.tar.gz |
Initial version
-rw-r--r-- | .SRCINFO | 17 | ||||
-rwxr-xr-x | PKGBUILD | 28 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..af06ce0273ca --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = pacman-conf-diff-git + pkgver = v1.0.0.r0.gc6712f3 + pkgrel = 1 + url = https://github.com/Thomaash/pacman-conf-diff + arch = any + license = Unlicense + makedepends = git + depends = python + provides = pacman-conf-diff + conflicts = pacman-conf-diff + options = !strip + options = !emptydirs + source = git+https://github.com/Thomaash/pacman-conf-diff.git#branch=master + sha256sums = SKIP + +pkgname = pacman-conf-diff-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..edb8847141db --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Tomáš Vyčítal <tom.vycital@gmail.com> + +_pkgbase=pacman-conf-diff +pkgname=$_pkgbase-git +pkgver=v1.0.0.r0.gc6712f3 +pkgrel=1 +pkgdesc='' +arch=('any') +url='https://github.com/Thomaash/pacman-conf-diff' +license=('Unlicense') +makedepends=('git') +depends=('python') +provides=("$_pkgbase") +conflicts=("$_pkgbase") +options=(!strip !emptydirs) +source=('git+https://github.com/Thomaash/pacman-conf-diff.git#branch=master') +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/$_pkgbase" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +package() { + install -Dm 755 "$srcdir/$_pkgbase/${_pkgbase//-/_}" "$pkgdir/usr/bin" +} + + |