summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 87a5088b23280ff94906024d9652c3cbdc60611a (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
#  Maintainer: maz-1 <ohmygod19993 at gmail dot com>

_pkgname=libsoxrate
pkgname=$_pkgname-git
pkgver=36.f447ead
pkgrel=1
pkgdesc="Library made from sox rate converter"
arch=('i686' 'x86_64')
license=('LGPL')
depends=()
makedepends=('git')
provides=('libsoxrate')
conflicts=('libsoxrate')
url="https://github.com/nu774/libsoxrate"
source=("$_pkgname::git+https://github.com/nu774/libsoxrate.git")
sha256sums=('SKIP')

pkgver() {
	cd "$srcdir/$_pkgname"
	echo "$(git rev-list --count HEAD).$(git describe --always)"
}

build() {
  cd $_pkgname
  autoreconf -i
  ./configure --prefix=/usr
  make
}

package() {
  cd $_pkgname

  make DESTDIR="$pkgdir" install
}