diff options
author | Pedro Gabriel Drumond Pereira | 2015-07-24 19:07:43 -0300 |
---|---|---|
committer | Pedro Gabriel Drumond Pereira | 2015-07-24 19:07:43 -0300 |
commit | a0c769d2e250a2c2801bb27661257bdec67a7503 (patch) | |
tree | 6b64abc1b13415a0333d5bc5ff76718d1f08baa6 | |
download | aur-a0c769d2e250a2c2801bb27661257bdec67a7503.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a81633152f0a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = hardcode-fixer-git + pkgdesc = Fixes Hardcoded Icons + pkgver = v0.8.2.r10.g58a4851 + pkgrel = 1 + url = https://github.com/Foggalong/hardcode-fixer + arch = i686 + arch = x86_64 + license = GPL + makedepends = git + source = hardcode-fixer-git::git://github.com/Foggalong/hardcode-fixer.git + md5sums = SKIP + +pkgname = hardcode-fixer-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..50a093016558 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Robert Orzanna <orschiro@gmail.com> + +pkgname=hardcode-fixer-git +pkgver=v0.8.2.r10.g58a4851 +pkgrel=1 +pkgdesc="Fixes Hardcoded Icons" +arch=('i686' 'x86_64') +url="https://github.com/Foggalong/hardcode-fixer" +license=('GPL') +#depends=('pacman' 'curl') +makedepends=('git') +source=("$pkgname"::'git://github.com/Foggalong/hardcode-fixer.git') +#source=('git+https://github.com/Foggalong/hardcode-fixer.git' +#source=('git+https://github.com/Foggalong/hardcode-fixer.git#branch=master' +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$pkgname" + git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g' +} + +package() { + cd "$srcdir/$pkgname" + install -Dm755 "$srcdir/$pkgname/fix.sh" "$pkgdir/usr/bin/hardcode-fixer" +} |