Skip to content

Commit 7769002

Browse files
committed
Update poedit-git
1 parent a09603b commit 7769002

File tree

2 files changed

+61
-0
lines changed

2 files changed

+61
-0
lines changed

Diff for: archlinuxcn/poedit-git/PKGBUILD

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Maintainer: taotieren <[email protected]>
2+
3+
pkgname=poedit-git
4+
pkgver=3.2.1.oss.r1.g992181a6f
5+
pkgrel=1
6+
epoch=
7+
pkgdesc="Poedit: cross-platform translation editor"
8+
arch=('x86_64')
9+
url="https://github.com/vslavik/poedit"
10+
license=('MIT')
11+
groups=()
12+
depends=(gtkspell3 lucene++ wxwidgets-gtk3 webkit2gtk)
13+
makedepends=(boost)
14+
checkdepends=()
15+
optdepends=('cld2: Compact Language Detector 2')
16+
provides=()
17+
conflicts=()
18+
replaces=()
19+
backup=()
20+
options=()
21+
install=
22+
changelog=
23+
source=("${pkgname%-git}::git+${url}.git")
24+
noextract=()
25+
sha256sums=('SKIP')
26+
#validpgpkeys=()
27+
28+
pkgver() {
29+
cd "${srcdir}/${pkgname%-git}"
30+
31+
git describe --long --tags | sed 's/^v//g;s/\([^-]*-g\)/r\1/;s/-/./g'
32+
}
33+
34+
build() {
35+
cd "${srcdir}/${pkgname%-git}"
36+
37+
./bootstrap
38+
./configure --prefix=/usr --libexecdir=/usr/lib/poedit
39+
make CPPFLAGS+=' -DUCHAR_TYPE=uint16_t'
40+
}
41+
42+
package() {
43+
cd "${srcdir}/${pkgname%-git}"
44+
45+
make DESTDIR="${pkgdir}" install
46+
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
47+
}

Diff for: archlinuxcn/poedit-git/lilac.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
maintainers:
2+
- github: taotieren
3+
4+
build_prefix: extra-x86_64
5+
6+
pre_build: vcs_update
7+
8+
post_build_script: |
9+
git_pkgbuild_commit()
10+
update_aur_repo()
11+
12+
update_on:
13+
- source: github
14+
github: vslavik/poedit

0 commit comments

Comments
 (0)