diff options
author | LinRs | 2019-04-03 11:17:36 +0800 |
---|---|---|
committer | LinRs | 2019-04-03 11:17:36 +0800 |
commit | 8d38955a671f4274e5cc63a388d6d05ffc1d5efa (patch) | |
tree | 93664e4c574eb7c6b995c3278ee941dae7a81921 | |
parent | e147a99bfacc279169967b1d7b8c59831d338cfb (diff) | |
download | aur-8d38955a671f4274e5cc63a388d6d05ffc1d5efa.tar.gz |
upgpkg: mtn 3.3.1-1
upstream release
- upstream move to a fork repo gitlab.com/movie_thumbnailer/mtn
- build from source instead of use
- add my name to the contributor
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 29 insertions, 39 deletions
@@ -1,12 +1,16 @@ pkgbase = mtn - pkgdesc = movie thumbnailer (mtn) -- saves thumbnails (screenshots) of movie or video files to jpeg files. - pkgver = 200808a + pkgdesc = Movie Thumbnailer using FFmpeg forked from mtn2008 + pkgver = 3.3.1 pkgrel = 1 - url = http://moviethumbnail.sourceforge.net/ - arch = any - license = GPL - source = http://downloads.sourceforge.net/project/moviethumbnail/movie%20thumbnailer%20linux%20binary/mtn-200808a-linux/mtn-200808a-linux.tgz - md5sums = acf9d06bf1c7a8f87ed9689110df2323 + url = https://gitlab.com/movie_thumbnailer/mtn + arch = x86_64 + license = GPL2 + depends = ffmpeg + depends = gd + provides = mtn=3.3.1 + conflicts = mtn-git + source = https://gitlab.com/movie_thumbnailer/mtn/-/archive/3.3.1/mtn-3.3.1.tar.gz + sha256sums = 137c53ef4ba3fc905e6dd5a1bdbbb029a3012c726c3e30bae329fc81f8e7fe57 pkgname = mtn @@ -1,37 +1,23 @@ -# Maintainer: Lucas Saliés Brum <lucas@archlinux.com.br> +# Maintainer: LinRs <LinRs AT users.noreply.github.com> +# Contributor: Lucas Saliés Brum <lucas@archlinux.com.br> pkgname=mtn -pkgver=200808a +pkgver=3.3.1 pkgrel=1 -epoch= -pkgdesc="movie thumbnailer (mtn) -- saves thumbnails (screenshots) of movie or video files to jpeg files." -arch=('any') -url="http://moviethumbnail.sourceforge.net/" -license=('GPL') -groups=() -depends=() -makedepends=() -checkdepends=() -optdepends=() -provides=() -conflicts=() -replaces=() -backup=() -options=() -install= -changelog= -source=("http://downloads.sourceforge.net/project/moviethumbnail/movie%20thumbnailer%20linux%20binary/${pkgname}-${pkgver}-linux/${pkgname}-${pkgver}-linux.tgz") -noextract=() -md5sums=('acf9d06bf1c7a8f87ed9689110df2323') -validpgpkeys=() +pkgdesc="Movie Thumbnailer using FFmpeg forked from mtn2008" +arch=('x86_64') +url="https://gitlab.com/movie_thumbnailer/mtn" +license=('GPL2') +depends=('ffmpeg' 'gd') +provides=("${pkgname}=${pkgver}") +conflicts=("${pkgname}-git") +source=("${url}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('137c53ef4ba3fc905e6dd5a1bdbbb029a3012c726c3e30bae329fc81f8e7fe57') +build() { + cd "${pkgname}-${pkgver}/src" + make +} package() { - cd "$pkgname-$pkgver-linux" - #make DESTDIR="$pkgdir/" install - install -d "${pkgdir}/usr/bin/" - install -Dm 755 mtn "${pkgdir}/usr/bin/" - install -d "${pkgdir}/usr/share/doc/${pkgname}/" - install -Dm 644 doc/index.en.html "${pkgdir}/usr/share/doc/${pkgname}/" - install -Dm 644 doc/changelog.txt "${pkgdir}/usr/share/doc/${pkgname}/" - install -Dm 644 doc/todo.txt "${pkgdir}/usr/share/doc/${pkgname}/" - install -Dm 644 doc/usage.en.html "${pkgdir}/usr/share/doc/${pkgname}/" + cd "${pkgname}-${pkgver}/src" + make DESTDIR="$pkgdir/" install } |