blob: d69b51c6293c433efb26069cb15758ce60686605 (
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
|
# Maintainer: Brian Bidulock <bidulock@openss7.com>
# Contributor: Bastien Dejean <baskerville@lavabit.com>
_pkgname=sutils
pkgname=${_pkgname}-git
pkgver=35
pkgrel=2
pkgdesc='Small command-line utilities'
arch=('i686' 'x86_64')
url="https://github.com/baskerville/${_pkgname}"
license=('custom:Unlicense')
makedepends=('git' 'alsa-lib')
optdepends=('alsa-lib: for volume utility')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("git+https://github.com/baskerville/${_pkgname}.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git rev-list --count HEAD
}
build() {
cd "$srcdir/$_pkgname"
make PREFIX=/usr CFLAGS="$CFLAGS -Wno-error=format-security"
}
package() {
cd "$srcdir/$_pkgname"
make PREFIX=/usr DESTDIR="$pkgdir" install
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|