blob: 0dc8a749add2bfb6e57d914935636c2c7472461e (
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
|
# Maintainer: Tomek Ĺaziuk <tlaziuk@gmail.com>
_pkgname=ffautocrop
pkgname=$_pkgname-git
pkgver=0.0.1.r1.gd443c30
pkgrel=1
pkgdesc="automatically crop a video using ffmpeg"
arch=("any")
url="https://github.com/tlaziuk/${_pkgname}"
license=('GPL')
depends=('ffmpeg')
makedepends=('git')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("git+https://github.com/tlaziuk/${_pkgname}.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${_pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/${_pkgname}"
install -Dm664 README.md "$pkgdir/usr/share/doc/${_pkgname}/README.md"
install -Dm755 $_pkgname "$pkgdir/usr/bin/${_pkgname}"
}
|