diff options
author | sekret | 2015-06-09 20:06:36 +0200 |
---|---|---|
committer | sekret | 2015-06-09 20:06:36 +0200 |
commit | abc053a8fd44a025adb98ac1dc2bd96d55bb4076 (patch) | |
tree | 6e142102b93e18a38a8d4ae5e8970ef71a4dbedf | |
download | aur-uppity-git.tar.gz |
initial AUR4 import
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 40 |
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..11609d7a0b65 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = uppity-git + pkgdesc = The pastebin client with an attitude + pkgver = 0.r12.5043001 + pkgrel = 1 + url = https://github.com/Kiwi/Uppity + arch = any + license = MIT + makedepends = git + depends = lua51-socket + provides = uppity + conflicts = uppity + replaces = curlpaste + backup = etc/uppity.conf + source = uppity::git+https://github.com/Kiwi/Uppity.git + md5sums = SKIP + +pkgname = uppity-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cb36a5c94f83 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: sekret, mail=$(echo c2VrcmV0QHBvc3Rlby5zZQo= | base64 -d) +# Contributor: Jonathan Steel <jsteel at aur.archlinux.org> +# Contributor: Robert Djubek <envy1988@gmail.com> +_pkgname=uppity +pkgname=$_pkgname-git +pkgver=0.r12.5043001 +pkgrel=1 +pkgdesc="The pastebin client with an attitude" +arch=('any') +url="https://github.com/Kiwi/Uppity" +license=('MIT') +depends=('lua51-socket') +makedepends=('git') +provides=("$_pkgname") +conflicts=("$_pkgname") +replaces=('curlpaste') +backup=('etc/uppity.conf') +source=("$_pkgname::git+$url.git") +md5sums=('SKIP') + +pkgver() { + cd "$_pkgname" + printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + cd "$_pkgname" + sed -i "s|/usr/bin/env lua|/usr/bin/env lua5.1|g" "$_pkgname" +} + +package() { + cd "$_pkgname" + install -Dm755 $_pkgname "$pkgdir"/usr/bin/$_pkgname + install -Dm644 $_pkgname.conf "$pkgdir"/etc/$_pkgname.conf + install -dm755 "$pkgdir"/etc/$_pkgname.d/ + install -m644 $_pkgname.d/* "$pkgdir"/etc/$_pkgname.d/ + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: |