-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
89 lines (73 loc) · 3.39 KB
/
PKGBUILD
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
################################################################################
# Encoding: UTF-8 Tab size: 4 #
# #
# ARCH LINUX PACKAGE BUILD DESCRIPTION FILE #
# #
# Ordnung muss sein! Copyleft (Ɔ) 2019, Arch Linux #
################################################################################
# Maintainer: Jack Black <ezamlinsky@gmail.com>
#==============================================================================#
# Package information #
#==============================================================================#
pkgname=('fribidi')
pkgver=1.0.9
pkgrel=1
pkgdesc='A Free Implementation of the Unicode Bidirectional Algorithm'
url='https://github.com/fribidi/fribidi/'
license=('LGPL')
arch=('x86_64')
#==============================================================================#
# Package dependencies #
#==============================================================================#
depends=('glibc')
makedepends=(
'git'
'meson'
)
#==============================================================================#
# Package relations #
#==============================================================================#
provides=('libfribidi.so')
#==============================================================================#
# Package sources and integrity #
#==============================================================================#
_commit='f9e8e71a6fbf4a4619481284c9f484d10e559995'
source=("git+https://github.com/fribidi/fribidi#commit=$_commit")
sha256sums=('SKIP')
#==============================================================================#
# Package building sequence #
#==============================================================================#
build() {
# Change directory to source directory
cd $pkgname
# Default configure options
config_opts=(
'-Ddeprecated=false'
'-Ddocs=false'
)
# Run package configuration script
arch-meson build "${config_opts[@]}"
# Build package
ninja -C build
}
#==============================================================================#
# Package self testing sequence #
#==============================================================================#
check() {
# Change directory to source directory
cd $pkgname
# Run internal tests
ninja -C build test
}
#==============================================================================#
# Package installation sequence #
#==============================================================================#
package() {
# Change directory to source directory
cd $pkgname
# Install files
DESTDIR=$pkgdir ninja -C build install
}
################################################################################
# END OF FILE #
################################################################################