blob: d4c7a0da43e8dfced5fa7c9afd4b78f3f42c9849 (
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
|
# $Id$
# Maintainer: Radu Potop <radu at wooptoo dot com>
pkgname=scarlett2-git
_pkgname=scarlett2
pkgver=1c26
pkgrel=1
pkgdesc='Scarlett2 Firmware Management Utility for Scarlett 2nd/3rd/4th Gen, Clarett USB, and Clarett+ interfaces'
arch=('i686' 'x86_64')
url="https://github.com/geoffreybennett/$_pkgname"
provides=("$_pkgname")
depends=('scarlett2-firmware')
makedepends=('gcc' 'make' 'git' 'pkgconf' 'sed')
license=('GPL-3.0-or-later') # /usr/share/licenses/spdx/
source=("git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
git describe --abbrev=4 --always --tags | sed 's/-/./g'
}
build() {
cd ${srcdir}/${_pkgname}
make
}
package() {
cd ${srcdir}/${_pkgname}
install -vDm 755 ${_pkgname} "${pkgdir}/usr/bin/${_pkgname}"
install -vDm 644 README.md "${pkgdir}/usr/share/doc/${_pkgname}/README.md"
}
|