diff options
author | Rafael Ferreira | 2015-06-20 13:34:51 -0300 |
---|---|---|
committer | Rafael Ferreira | 2015-06-20 13:34:51 -0300 |
commit | 7072c21586e4d5c5268cabb676119ce68d05fe4f (patch) | |
tree | 3467d58e8b12e83a58b4530da265343a97c85f84 | |
download | aur-7072c21586e4d5c5268cabb676119ce68d05fe4f.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 26 | ||||
-rw-r--r-- | teeman-git.install | 11 |
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7534e31f6090 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = teeman-git + pkgdesc = Bash tool to manage your teeworlds servers + pkgver = r6.8087971 + pkgrel = 1 + url = https://bitbucket.org/florianleleu/teeman + install = teeman-git.install + arch = any + license = custom:CC-BY-SA + makedepends = git + depends = bash + depends = wget + depends = net-tools + source = git+https://florianleleu@bitbucket.org/florianleleu/teeman + md5sums = SKIP + +pkgname = teeman-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c7bf45c192cc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: josephgbr <rafael.f.f1@gmail.com> + +pkgname=teeman-git +pkgver=r6.8087971 +pkgrel=1 +pkgdesc="Bash tool to manage your teeworlds servers" +arch=(any) +url="https://bitbucket.org/florianleleu/teeman" +license=(custom:CC-BY-SA) +depends=('bash' 'wget' 'net-tools') +makedepends=('git') +install=teeman-git.install +source=(git+https://florianleleu@bitbucket.org/florianleleu/teeman) +md5sums=(SKIP) + +pkgver() { + cd teeman + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd teeman + install -Dm755 teeman "${pkgdir}/usr/bin/teeman" + install -Dm644 license.txt "${pkgdir}/usr/share/licenses/teeman/license" + install -Dm644 README.md "${pkgdir}/usr/share/doc/teeman/README" +} diff --git a/teeman-git.install b/teeman-git.install new file mode 100644 index 000000000000..7da757c703e7 --- /dev/null +++ b/teeman-git.install @@ -0,0 +1,11 @@ +post_install() { +cat << EOMSG + You may find some information in the teeman thread in the forums: + https://www.teeworlds.com/forum/viewtopic.php?id=10700 +EOMSG +} + +post_upgrade() { + post_install +} + |