blob: 3540666f8f6f6ecf49d5ab6c3a1edb57c97578fb (
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
|
# Maintainer: Cassandra Watergate (saltedcoffii) <cassandrawatergate@outlook.com>
_pkgname=ffmpeg-audio-thumbnailer
pkgname=$_pkgname-git
pkgver=r9.68ab554
pkgrel=2
pkgdesc="A minimal audio file thumbnailer for file managers, such as nautilus, dolphin, thunar, and nemo."
url="https://github.com/saltedcoffii/ffmpeg-audio-thumbnailer"
arch=(any)
depends=('ffmpeg')
license=('GPL3 or any later version')
provides=('ffmpeg-audio-thumbnailer')
conflicts=('ffmpeg-audio-thumbnailer')
conflicts+=('ffmpegthumbnailer-mp3') # The files don't conflict, but the functions do (this package does it better ;) )
source=("git+$url.git")
sha512sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $_pkgname
make
}
check() {
cd $_pkgname
make check
}
package() {
cd $_pkgname
make DESTDIR="$pkgdir" PREFIX="/usr" install
}
|