diff options
author | Kaizhao Zhang | 2019-05-23 15:51:56 +0800 |
---|---|---|
committer | Kaizhao Zhang | 2019-05-23 15:51:56 +0800 |
commit | 70c51f0811c88ce22583303957de45621967f3dc (patch) | |
tree | c790312992013690d165ecf650dcae71c8eb60d2 | |
download | aur-70c51f0811c88ce22583303957de45621967f3dc.tar.gz |
Initial import with version 0.5.0
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 35 |
3 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 00000000000..bb70d3ca513 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = shivyc + pkgdesc = A C compiler written in Python + pkgver = 0.5.0 + pkgrel = 1 + url = https://github.com/ShivamSarodia/ShivyC + arch = x86_64 + license = MIT + makedepends = python-setuptools + depends = python>=3.6 + options = !emptydirs + source = https://github.com/ShivamSarodia/ShivyC/archive/0.5.0.tar.gz + sha256sums = 693d3be4d923f1c1d77cdae80d9ce856a3221891769f74907d8dde1ae65dcaca + +pkgname = shivyc + diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000000..924dfb95c20 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +pkg/ +src/ +*.tar.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000000..6f4c14f103c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Kaizhao Zhang <zhangkaizhao@gmail.com> + +_srcname=ShivyC + +pkgname=shivyc +pkgver=0.5.0 +pkgrel=1 +pkgdesc="A C compiler written in Python" +arch=('x86_64') +url="https://github.com/ShivamSarodia/ShivyC" +license=('MIT') +depends=( + 'python>=3.6' +) +makedepends=('python-setuptools') +options=(!emptydirs) +source=( + "${url}/archive/${pkgver}.tar.gz" +) +sha256sums=( + '693d3be4d923f1c1d77cdae80d9ce856a3221891769f74907d8dde1ae65dcaca' +) + +build() { + cd "${srcdir}/${_srcname}-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/${_srcname}-${pkgver}" + python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build + install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" + install -Dm644 demo.gif "${pkgdir}/usr/share/doc/${pkgname}/demo.gif" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |