summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f1f134602ac2a737ceb7c88ab9648a61e1098048 (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
# Maintainer: Jean-Luc Juganniere <jljug@hotmail.com>
pkgname=xpuz
_pkgname=xpuz
pkgver=2.7.1
pkgrel=2
pkgdesc="A fork of xjig 2.5, the jigsaw puzzle."
arch=('x86_64')
url="https://xjigsaw.net/"
license=('GPL3')
makedepends=('git')
depends=('libx11' 'libjpeg-turbo')
source=("$pkgname::git+https://github.com/JeanLucJFr/$_pkgname.git")
md5sums=('SKIP')

prepare() {
	cd "$srcdir/$pkgname"
	# Statically linking libjpeg doesn't work for some unknown reason.
	sed -i 's/-Wl,-Bstatic//' Makefile
}

build() {
	cd "$srcdir/$pkgname"
	make
}

package() {
	cd "$srcdir/$pkgname"
	make DESTDIR="$pkgdir/" MANSECT="6" PROJECTMANSUFFIX="" install install.man
}