summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a65bb7127ce30c97db5e945fb017b0cc49d4560d (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
36
37
38
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>

pkgname=libmms-git
pkgver=0.6.4.r8.ga9f6923
pkgrel=1
pkgdesc="A library for downloading (streaming) media files"
arch=('i686' 'x86_64')
url="https://sourceforge.net/projects/libmms/"
license=('LGPL')
depends=('glibc')
makedepends=('git')
provides=("libmms=$pkgver")
conflicts=('libmms')
options=('staticlibs')
source=("git+https://git.code.sf.net/p/libmms/code")
sha256sums=('SKIP')


pkgver() {
  cd "code"

  git describe --long --tags | sed 's/^libmms-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "code"

  ./autogen.sh
  ./configure \
    --prefix="/usr"
  make
}

package() {
  cd "code"

  make DESTDIR="$pkgdir" install
}