summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMario Blättermann2022-01-23 12:45:14 +0100
committerMario Blättermann2022-01-23 12:45:14 +0100
commit8fcb9ecb0c3a582ede97299426707eb8a9b5d031 (patch)
treed591b3b6c02ca719f4cf0f56f42541cc65a9f4ad /PKGBUILD
downloadaur-8fcb9ecb0c3a582ede97299426707eb8a9b5d031.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..56bf94b53727
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Mario Blättermann <mario.blaettermann@gmail.com>
+
+pkgname=man-pages-vi-git
+_gitname=manpages-l10n
+pkgver=r17547.78d381bf16
+pkgrel=1
+pkgdesc="Vietnamese man pages (Git version)"
+arch=('any')
+url="https://salsa.debian.org/manpages-l10n-team/manpages-l10n"
+license=('GPL3')
+conflicts=('man-pages-vi')
+depends=('man-db')
+makedepends=('po4a' 'git')
+options=('!emptydirs')
+source=("${_gitname}::git+https://salsa.debian.org/manpages-l10n-team/manpages-l10n.git")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd "${_gitname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${srcdir}"/manpages-l10n
+ ./configure --prefix=/usr --enable-distribution=archlinux
+
+ cd po/vi
+ make
+}
+
+package() {
+ cd "${srcdir}"/manpages-l10n/po/vi
+
+ make DESTDIR="${pkgdir}" install
+}