blob: 73b2049a5eb1d57f1b610d0d75cbd4d2179da8e4 (
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: twa022 <twa022 at gmail dot com>
pkgname=streamripper
epoch=1
_pkgver=1.64.6
pkgver=1.64.6+56+a5597af
pkgrel=1
pkgdesc="Records and splits streaming mp3 into tracks"
arch=('x86_64' 'i686' 'aarch64' 'armv7h')
url="https://streamripper.sourceforge.net"
license=('GPL')
depends=('glib2' 'libmad' 'faad2' 'libvorbis')
makedepends=('git')
_commit='a5597af77b942b97cacb207929043c9aac0b756e'
source=("git+https://github.com/Magentron/streamripper#commit=${_commit}")
sha256sums=('be6711fa28351a8f2165cff41b7afd253ccbf910cf342d253c53511a37966e60')
pkgver() {
local _rel_commit='6e5f5fecd31f45eacf630443d91eea6f850dcab1'
cd "${pkgname}"
printf "%s+%s+%s" "${_pkgver}" "$(( `git rev-list --count ${_commit}` - `git rev-list --count ${_rel_commit}` ))" "`git rev-parse --short ${_commit}`"
}
build() {
cd "${pkgname}"
./configure --prefix=/usr
make
}
package() {
cd "${pkgname}"
make DESTDIR="$pkgdir" install
}
|