blob: 7714d0a4169ca59edaa7450bed739c47eaad99cf (
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
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
90
|
# Maintainer: taotieren <admin@taotieren.com>
pkgname=poedit-git
pkgver=3.5.2.r80.ge4a64e4c1
pkgrel=2
epoch=
pkgdesc="Translations editor for Mac, Windows and Unix"
arch=($CARCH)
url="https://github.com/vslavik/poedit"
license=('MIT')
groups=()
depends=(
cld2
# cpprestsdk
boost-libs
gcc-libs
glib2
glibc
gtk3
gtkspell3
hicolor-icon-theme
icu
lucene++
pugixml
wxwidgets-common
wxwidgets-gtk3)
makedepends=(
asciidoc
automake
ccache
boost
expat
gettext
git
libjpeg-turbo
libnotify
libice
libsecret
libsm
libtiff
libxtst
libxslt
nlohmann-json
openssl
pkgconf
webkit2gtk-4.1
xmlto
zlib)
checkdepends=()
optdepends=()
provides=(${pkgname%-git})
conflicts=(${pkgname%-git})
replaces=()
backup=()
options=()
install=
changelog=
source=("${pkgname}::git+${url}.git")
noextract=()
sha256sums=('SKIP')
#validpgpkeys=()
pkgver() {
cd "${srcdir}/${pkgname}"
git describe --long --tags | sed 's/^v//g;s/.oss//g;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${pkgname}"
./bootstrap
./configure \
--disable-sound \
--prefix=/usr \
--libexecdir=/usr/lib/poedit \
--with-gtk=3 \
--without-opengl \
--with-sdl \
--enable-webview \
--enable-stl
make CPPFLAGS+=' -DUCHAR_TYPE=uint16_t'
}
package() {
cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
|