summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bc66d11e759477e463bcd25f8ad91a682ef08010 (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
# Maintainer: Nate Simon <njsimon10@gmail.com>

pkgname=xplayer-plparser
pkgver=1.0.3
pkgrel=2
pkgdesc="Playlist parser for xplayer. X-Apps Project."
arch=('i686' 'x86_64' 'armv7h')
license=('GPL')
depends=('gmime3' 'libsoup' 'libarchive' 'libquvi')
makedepends=(
    'meson'
    'gtk-doc'
    'gobject-introspection'
    'glib2-devel'
)
provides=($pkgname)
conflicts=('xplayer-plparser-git')
url='https://github.com/linuxmint/xplayer-plparser'

source=("${pkgname}.tar.gz::https://github.com/linuxmint/${pkgname}/archive/${pkgver}.tar.gz")
md5sums=('008d061b8a5cedf9b09b2cd833fdf698')

build() {
    mkdir -p "${srcdir}/${pkgname}-${pkgver}/build"
    cd "${srcdir}/${pkgname}-${pkgver}/build"

    meson --prefix=/usr \
          --libexecdir=lib/${pkgname} \
          --buildtype=plain \
          ..
    ninja
}

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