summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorcaltlgin2020-09-28 11:10:26 +1300
committercaltlgin2020-09-28 11:10:26 +1300
commit8e794fd029dac6e15fea7ecc4f0ed05518652e70 (patch)
treecba3ce4e728f92eb0cc0d5f5883d500723cc4cbe /PKGBUILD
downloadaur-translit.tar.gz
Add to AUR
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..178576d6578
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
+
+pkgname='translit'
+pkgver=1.0.0
+pkgrel=1
+pkgdesc='Simple method of encoding Cyrillic letters with Latin ones'
+arch=('x86_64')
+url='https://github.com/artemanufrij/translit'
+license=('GPL3')
+depends=('granite' 'gtkspell3')
+makedepends=('meson' 'vala')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('e631f71cf6099ebfb152dd0a4222d50cbc677dfbd8e3ef3ebc61b8650fdc9f14')
+
+build() {
+ arch-meson "${pkgname}-${pkgver}" build
+ meson compile -C build
+}
+
+package() {
+ DESTDIR="${pkgdir}" meson install -C build
+ install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "${pkgname}-${pkgver}/README.md"
+}
+
+# vim: ts=2 sw=2 et: