blob: 51102d1fcd6d6f7535b71ab7467da96a1c5234c6 (
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: Никола Милинковић <nikola.milinkovic@disroot.org>
_pkgname='bcm2-utils'
pkgname="${_pkgname}-git"
pkgver=0.9.5.1.r58.g69037f2
pkgrel=1
pkgdesc="Utilities for Broadcom-based cable modems"
arch=('x86_64')
url="https://github.com/jclehner/bcm2-utils"
license=('GPL3')
depends=('openssl' 'gcc-libs')
makedepends=('git')
optdepends=()
provides=('bcm2-utils')
conflicts=('bcm2-utils')
source=('git+https://github.com/jclehner/bcm2-utils.git')
sha256sums=('SKIP')
pkgver() {
cd "${_pkgname}"
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${_pkgname}"
make
}
package() {
cd "${_pkgname}"
install -m755 -d "${pkgdir}/usr/bin"
make PREFIX="${pkgdir}/usr" install
}
|