blob: 547fd5bc66ca89268161765343e18f57c4934a72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Laura Leddin <laura+aur@llaura.de>
_pkgname=spongecase
pkgname=sponge-case-git
pkgver=v1.0.2_5_gf657b07
pkgrel=1
epoch=
pkgdesc="Converts strings to spongebob mocking case"
arch=('x86_64')
url="https://github.com/FabianTe/spongecase"
license=()
groups=()
depends=()
makedepends=('git'
'go')
checkdepends=()
optdepends=()
provides=('spongecase')
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git+https://github.com/FabianTe/spongecase.git")
noextract=()
validpgpkeys=()
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
git describe --tags --long | sed s/-/_/g
}
build() {
cd "${srcdir}/${_pkgname}"
go build -o "${srcdir}/pkg/${_pkgname}"
}
package() {
install -Dm755 "${srcdir}/pkg/${_pkgname}" -t "${pkgdir}/usr/bin/"
}
|