diff options
author | Yigit Sever | 2021-10-29 01:30:24 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-29 01:30:24 +0300 |
commit | 31d147b20c67d95a9e306d0749200bf964ac42af (patch) | |
tree | b0fbe2bb5aa0fec9983746a91d188643ca93466d /turkish-deasciifier-git | |
parent | 4a31e5e0f3442a4a5ec9fba94f7bbc2c88312c69 (diff) | |
download | packages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.gz packages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.bz2 packages-31d147b20c67d95a9e306d0749200bf964ac42af.zip |
Use actual files instead of submodules
Diffstat (limited to 'turkish-deasciifier-git')
m--------- | turkish-deasciifier-git | 0 | ||||
-rw-r--r-- | turkish-deasciifier-git/.SRCINFO | 15 | ||||
-rw-r--r-- | turkish-deasciifier-git/PKGBUILD | 32 |
3 files changed, 47 insertions, 0 deletions
diff --git a/turkish-deasciifier-git b/turkish-deasciifier-git deleted file mode 160000 | |||
Subproject eebac681a83ce7082f982673f80b9d6a862c9ef | |||
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 @@ | |||
1 | pkgbase = turkish-deasciifier-git | ||
2 | pkgdesc = Turkish deasciifier in Python based on Deniz Yüret's turkish-mode for Emacs | ||
3 | pkgver = r69.665154c | ||
4 | pkgrel = 1 | ||
5 | url = https://github.com/emres/turkish-deasciifier | ||
6 | arch = any | ||
7 | license = custom | ||
8 | makedepends = git | ||
9 | depends = python | ||
10 | provides = turkish-deasciifier | ||
11 | conflicts = turkish-deasciifier | ||
12 | source = git+https://github.com/emres/turkish-deasciifier.git | ||
13 | sha256sums = SKIP | ||
14 | |||
15 | 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 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | _pkgname='turkish-deasciifier' | ||
3 | pkgname='turkish-deasciifier-git' | ||
4 | pkgver=r69.665154c | ||
5 | pkgrel=1 | ||
6 | pkgdesc="Turkish deasciifier in Python based on Deniz Yüret's turkish-mode for Emacs" | ||
7 | arch=('any') | ||
8 | url="https://github.com/emres/turkish-deasciifier" | ||
9 | license=('custom') | ||
10 | depends=('python') | ||
11 | makedepends=('git') | ||
12 | provides=("${_pkgname}") | ||
13 | conflicts=("${_pkgname}") | ||
14 | source=("git+${url}.git") | ||
15 | sha256sums=('SKIP') | ||
16 | |||
17 | pkgver() { | ||
18 | cd "$srcdir/${_pkgname}" | ||
19 | printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | ||
20 | } | ||
21 | |||
22 | build() { | ||
23 | cd "$srcdir/${_pkgname}" | ||
24 | python setup.py build | ||
25 | } | ||
26 | |||
27 | package() { | ||
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 | } | ||