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

pkgname=multicat-git
pkgver=2.3.r12.gc390dc2
pkgrel=1
pkgdesc="Easily and efficiently manipulate multicast streams"
arch=('i686' 'x86_64')
url="https://www.videolan.org/projects/multicat.html"
license=('GPL2')
depends=('glibc')
makedepends=('git' 'bitstream')
provides=("multicat=$pkgver")
conflicts=('multicat')
source=("git+https://code.videolan.org/videolan/multicat.git")
sha256sums=('SKIP')


pkgver() {
  cd "multicat"

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

build() {
  cd "multicat"

  make
}

package() {
  cd "multicat"

  make \
    DESTDIR="$pkgdir" \
    PREFIX="/usr" \
    install
}