From 31d147b20c67d95a9e306d0749200bf964ac42af Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 29 Oct 2021 01:30:24 +0300 Subject: Use actual files instead of submodules --- turkish-deasciifier-git/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 turkish-deasciifier-git/PKGBUILD (limited to 'turkish-deasciifier-git/PKGBUILD') 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 @@ +# Maintainer: Yigit Sever +_pkgname='turkish-deasciifier' +pkgname='turkish-deasciifier-git' +pkgver=r69.665154c +pkgrel=1 +pkgdesc="Turkish deasciifier in Python based on Deniz YĆ¼ret's turkish-mode for Emacs" +arch=('any') +url="https://github.com/emres/turkish-deasciifier" +license=('custom') +depends=('python') +makedepends=('git') +provides=("${_pkgname}") +conflicts=("${_pkgname}") +source=("git+${url}.git") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/${_pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/${_pkgname}" + python setup.py build +} + +package() { + cd "$srcdir/${_pkgname}" + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 "debian/copyright" "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" + install -Dm644 "turkish-deasciify.1" "$pkgdir/usr/share/man/man1/turkish-deasciify.1" +} -- cgit v1.2.3-70-g09d2