summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoaquin2018-01-30 08:03:18 -0500
committerJoaquin2018-01-30 08:03:18 -0500
commite9a7f38f3e644828370d41c6c72dec458b241c6d (patch)
tree2aa6d63a1fdd3dda044d97777115be94e799207e
parentf1864c47dc32a1fe7391670191d7044c153aa7bf (diff)
downloadaur-e9a7f38f3e644828370d41c6c72dec458b241c6d.tar.gz
All packaged added
-rw-r--r--PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a81a0e88b93..c1f1b51146f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,15 +2,15 @@
pkgname=codeforces-parser-git
pkgver=r48.5287a01
-pkgrel=1
+pkgrel=2
pkgdesc="Parse sample tests of Codeforces competitions, and generate tests automatically."
arch=("any")
url="https://github.com/johnathan79717/${pkgname%-git}"
-license=('unknown')
+license=('MIT')
depends=('python' 'time' 'python-urllib3')
makedepends=('git')
-optdepends=('go: for go support'
- 'kotlin: for kotlin support')
+optdepends=('go: for go support.'
+ 'kotlin: for kotlin support.')
provides=(${pkgname%-git})
conflicts=(${pkgname%-git})
source=("git+${url}")
@@ -33,7 +33,8 @@ prepare(){
package() {
cd "${srcdir}/${pkgname%-git}"
- install -Dm755 parse.py "${pkgdir}/usr/bin/codeforces-parser"
+ install -Dm755 parse.py "${pkgdir}/usr/bin/${pkgname%-git}"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/license/${pkgname%-git}/LICENSE"
mkdir -p "${pkgdir}/etc/${pkgname%-git}"
- cp main.{go,cc,kt} "${pkgdir}/etc/${pkgname%-git}/"
+ cp main.{go,cc,kt} "${pkgdir}/etc/${pkgname%-git}/"
}