first package version
This commit is contained in:
commit
8fe34cd1ae
2 changed files with 44 additions and 0 deletions
16
.SRCINFO
Normal file
16
.SRCINFO
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Generated by mksrcinfo v8
|
||||
# Thu Oct 8 16:14:35 UTC 2015
|
||||
pkgbase = pbin-git
|
||||
pkgdesc = CLI tool for Stikked based pastebin services
|
||||
pkgver = r10.adb4784
|
||||
pkgrel = 1
|
||||
url = https://github.xom/glensc/pbin
|
||||
arch = any
|
||||
license = GPL2
|
||||
makedepends = git
|
||||
depends = curl
|
||||
source = pbin::git+https://github.com/glensc/pbin
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = pbin-git
|
||||
|
28
PKGBUILD
Normal file
28
PKGBUILD
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
|
||||
pkgname=pbin-git
|
||||
pkgver=r10.adb4784
|
||||
pkgrel=1
|
||||
pkgdesc="CLI tool for Stikked based pastebin services"
|
||||
arch=(any)
|
||||
url="https://github.xom/glensc/pbin"
|
||||
license=(GPL2)
|
||||
makedepends=(git)
|
||||
depends=(curl)
|
||||
|
||||
source=('pbin::git+https://github.com/glensc/pbin')
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir"/pbin
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"/pbin
|
||||
|
||||
install -D -m755 pbin.sh "$pkgdir/usr/bin/pbin"
|
||||
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in a new issue