summaryrefslogtreecommitdiffstats
path: root/turkish-deasciifier-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'turkish-deasciifier-git/PKGBUILD')
-rw-r--r--turkish-deasciifier-git/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/turkish-deasciifier-git/PKGBUILD b/turkish-deasciifier-git/PKGBUILD
new file mode 100644
index 0000000..14bfcfa
--- /dev/null
+++ b/turkish-deasciifier-git/PKGBUILD
@@ -0,0 +1,32 @@
1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2_pkgname='turkish-deasciifier'
3pkgname='turkish-deasciifier-git'
4pkgver=r69.665154c
5pkgrel=1
6pkgdesc="Turkish deasciifier in Python based on Deniz YĆ¼ret's turkish-mode for Emacs"
7arch=('any')
8url="https://github.com/emres/turkish-deasciifier"
9license=('custom')
10depends=('python')
11makedepends=('git')
12provides=("${_pkgname}")
13conflicts=("${_pkgname}")
14source=("git+${url}.git")
15sha256sums=('SKIP')
16
17pkgver() {
18 cd "$srcdir/${_pkgname}"
19 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
20}
21
22build() {
23 cd "$srcdir/${_pkgname}"
24 python setup.py build
25}
26
27package() {
28 cd "$srcdir/${_pkgname}"
29 python setup.py install --root="$pkgdir" --optimize=1
30 install -Dm644 "debian/copyright" "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
31 install -Dm644 "turkish-deasciify.1" "$pkgdir/usr/share/man/man1/turkish-deasciify.1"
32}