summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f7a2ec247866a2bedef4647d0e2498d35246438e (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
37
38
# Maintainer: Doug Newgard <scimmia at archlinux dot info>
# Contributor: Lucas De Marchi <lucas.de.marchi@gmail.com
# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
# Contributor: Igor Scabini <furester at gmail.com>

pkgname=lightmediascanner
pkgver=0.5.1
pkgrel=2
pkgdesc="Lightweight library to scan media"
arch=('i686' 'x86_64')
url="https://github.com/profusion/lightmediascanner"
license=('LGPL')
depends=('sqlite' 'libmp4v2' 'ffmpeg' 'file')
source=("https://github.com/profusion/lightmediascanner/archive/release_$pkgver.tar.gz"
        'https://github.com/profusion/lightmediascanner/commit/7c4aaa0616f7cb61f838191928d2c75023d342be.patch')
sha256sums=('d08434b957eb8b4e2d84cb081406ce86af20113a30f9d0d097e32b7a667f1174'
            '5d69e7498e85af9b5582a1941b416df1d293305862ad6ff7331701b29cc96094')

prepare() {
  cd $pkgname-release_$pkgver

  patch -p1 -i ../7c4aaa0616f7cb61f838191928d2c75023d342be.patch
}

build() {
  cd $pkgname-release_$pkgver

  ./autogen.sh \
    --prefix=/usr

  make
}

package() {
  cd $pkgname-release_$pkgver

  make DESTDIR="$pkgdir" install
}