summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6f39c60a5e25dd3a138a77217a16bd077258057c (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
39
40
41
42
43
44
45
46
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>

pkgname=libisoburn-git
pkgver=1.5.4.r13.g60dfe77a
pkgrel=1
pkgdesc="Frontend for libburn and libisofs"
arch=('i686' 'x86_64')
url="https://dev.lovelyhq.com/libburnia/web/wiki/Libisoburn"
license=('GPL')
depends=('glibc' 'libburn' 'libisofs' 'readline')
makedepends=('git')
optdepends=('tk: for xorriso-tcltk frontend'
            'sudo: for use with xorriso-dd-target')
provides=('libisoburn' 'xorriso' 'xorriso-tcltk')
conflicts=('libisoburn')
options=('staticlibs')
source=("git+https://dev.lovelyhq.com/libburnia/libisoburn.git")
sha256sums=('SKIP')


pkgver() {
  cd "libisoburn"

  git describe --long --tags | sed 's/^release-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "libisoburn"

  ./bootstrap
  ./configure \
    --prefix="/usr"
  make
}

check() {
  cd "libisoburn"

  make check
}

package() {
  cd "libisoburn"

  make DESTDIR="$pkgdir" install
}