summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12017-08-12 15:24:37 +0800
committerChocobo12017-08-12 15:29:12 +0800
commit6fda03bbd92bb936f310dcbc26e6950ee1234a5c (patch)
tree6c1867045ae72e3c0890234eb94472812ae9f7c1
downloadaur-6fda03bbd92bb936f310dcbc26e6950ee1234a5c.tar.gz
newpkg: multicat-git 2.2.r7.g105d45f-1
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD34
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..4d5f2964199c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = multicat-git
+ pkgdesc = Easily and efficiently manipulate multicast streams
+ pkgver = 2.2.r7.g105d45f
+ pkgrel = 1
+ url = https://www.videolan.org/projects/multicat.html
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = git
+ makedepends = bitstream
+ depends = glibc
+ provides = multicat
+ conflicts = multicat
+ source = git+https://code.videolan.org/videolan/multicat.git
+ sha256sums = SKIP
+
+pkgname = multicat-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..099c114bcda0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
+
+pkgname=multicat-git
+pkgver=2.2.r7.g105d45f
+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')
+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
+}