summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c7ecfffa90d8044e5885915265c097d7026aaf2d (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
# Contributor: Robert Knauer <robert@privatdemail.net>
# Contributor: twa022 <twa022@gmail.com>

pkgname=audiothumbnailer
pkgver=0.2.0
pkgrel=4
pkgdesc="Lightweight audio thumbnailer that can be used by file managers"
url="http://code.google.com/p/audiothumbnailer/"
license=('GPL2')
arch=('i686' 'x86_64')
depends=('imagemagick' 'taglib')
source=(
  "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/audiothumbnailer/audiothumbnailer-0.2.0.tar.gz"
  "${pkgname}.cpp.patch"
)
sha256sums=(
  '1706f78e51be698ce4194dfe4fdff50ae07440d3e51d9e1ae4d367a5a8c2085c'
  '84771d5b964650dccb5814c30f788d67619a937f1143c42f14249a67b4eb2d72'
)
options=(!libtool)

prepare() {
  cd "${srcdir}/${pkgname}-${pkgver}/src"
  patch "${pkgname}.cpp" "${srcdir}/${pkgname}.cpp.patch"
}

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}