mirror of
https://github.com/archlinux/aur.git
synced 2026-02-14 20:51:54 +01:00
Add stikkit-git
This commit is contained in:
commit
afd0a55ab5
2 changed files with 47 additions and 0 deletions
17
.SRCINFO
Normal file
17
.SRCINFO
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
pkgbase = stikkit-git
|
||||
pkgdesc = Commandline tool to upload pastes to stikked pastebins
|
||||
pkgver = 1.0.4.r6.g446a4ee
|
||||
pkgrel = 1
|
||||
url = http://github.com/benapetr/stikkit
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
makedepends = git
|
||||
makedepends = cmake
|
||||
provides = stikkit
|
||||
conflicts = stikkit
|
||||
source = stikkit-git::git+https://github.com/benapetr/stikkit.git
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = stikkit-git
|
||||
|
||||
30
PKGBUILD
Normal file
30
PKGBUILD
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# Maintainer: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
|
||||
|
||||
pkgname=stikkit-git
|
||||
pkgver=1.0.4.r6.g446a4ee
|
||||
pkgrel=1
|
||||
pkgdesc="Commandline tool to upload pastes to stikked pastebins"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://github.com/benapetr/stikkit"
|
||||
license=('GPL')
|
||||
makedepends=('git' 'cmake')
|
||||
conflicts=('stikkit')
|
||||
provides=('stikkit')
|
||||
source=("$pkgname"::'git+https://github.com/benapetr/stikkit.git')
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/$pkgname"
|
||||
git describe --long | sed -E 's/^Release_//;s/([^-]*-g)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname/stikkit"
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr .
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname/stikkit"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue