Skip to content

Instantly share code, notes, and snippets.

@gardar gardar/PKGBUILD
Created Apr 3, 2017

Embed
What would you like to do?
comskip PKGBUILD with comskip-gui
# Maintainer: Nick Burrett <nick@sqrt.co.uk>
pkgname=comskip
pkgver=0.94
pkgrel=1
pkgdesc='Comskip is a free MPEG commercial break detector'.
_gitname='comskip'
url='http://github.com/erikkaashoek/Comskip'
arch=('x86_64' 'i686')
license=('GPL3')
makedepends=('git')
depends=('ffmpeg' 'argtable')
source=("${_gitname}::git+https://github.com/erikkaashoek/Comskip.git#branch=master")
sha256sums=('SKIP')
#pkgver() {
# cd "${srcdir}/${_gitname}"
# echo "$(git describe --long --tags | tr - .)"
#}
build() {
cd "${srcdir}/${_gitname}"
./autogen.sh
./configure --prefix=/usr
make
}
package() {
mkdir -p "$pkgdir/usr/bin"
install -m755 "${srcdir}/${_gitname}/comskip" "$pkgdir/usr/bin/comskip"
install -m755 "${srcdir}/${_gitname}/comskip-gui" "$pkgdir/usr/bin/comskip-gui"
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.