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 | 1 - turkish-deasciifier-git/.SRCINFO | 15 +++++++++++++++ turkish-deasciifier-git/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+), 1 deletion(-) delete mode 160000 turkish-deasciifier-git create mode 100644 turkish-deasciifier-git/.SRCINFO create mode 100644 turkish-deasciifier-git/PKGBUILD (limited to 'turkish-deasciifier-git') diff --git a/turkish-deasciifier-git b/turkish-deasciifier-git deleted file mode 160000 index eebac68..0000000 --- a/turkish-deasciifier-git +++ /dev/null @@ -1 +0,0 @@ -Subproject commit eebac681a83ce7082f982673f80b9d6a862c9ef2 diff --git a/turkish-deasciifier-git/.SRCINFO b/turkish-deasciifier-git/.SRCINFO new file mode 100644 index 0000000..e0ca10f --- /dev/null +++ b/turkish-deasciifier-git/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = turkish-deasciifier-git + pkgdesc = Turkish deasciifier in Python based on Deniz Yüret's turkish-mode for Emacs + pkgver = r69.665154c + pkgrel = 1 + url = https://github.com/emres/turkish-deasciifier + arch = any + license = custom + makedepends = git + depends = python + provides = turkish-deasciifier + conflicts = turkish-deasciifier + source = git+https://github.com/emres/turkish-deasciifier.git + sha256sums = SKIP + +pkgname = turkish-deasciifier-git 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