summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorb6b2020-03-25 18:02:01 -0700
committerb6b2020-03-25 18:02:01 -0700
commit1198b9309ff635b12390bca5278075388e650459 (patch)
tree44a8b347c2bc5f88e5fc33f3bf77e30c1803ae8c
downloadaur-python-cueparser.tar.gz
Initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD23
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1acf826d335
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-cueparser
+ pkgdesc = Simple cue file parser written in python
+ pkgver = 1.0.0
+ pkgrel = 1
+ url = https://pypi.org/project/CueParser
+ arch = any
+ license = custom
+ makedepends = python-setuptools
+ depends = python
+ source = https://files.pythonhosted.org/packages/3c/14/947ea1645ec92aefabf6f17141a44089c8b85b59527a9600f84315587175/CueParser-1.0.0.tar.gz
+ sha256sums = 2a33d51652a0ad87348975fb314610ef39066a2ae64e89739eaaea33d058e085
+
+pkgname = python-cueparser
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..63d0756b348
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: b6b <b6bb at pm dot me>
+
+pkgname=python-cueparser
+pkgver=1.0.0
+pkgrel=1
+pkgdesc='Simple cue file parser written in python'
+arch=(any)
+url=https://pypi.org/project/CueParser
+license=(custom)
+depends=(python)
+makedepends=(python-setuptools)
+source=("https://files.pythonhosted.org/packages/3c/14/947ea1645ec92aefabf6f17141a44089c8b85b59527a9600f84315587175/CueParser-$pkgver.tar.gz")
+sha256sums=(2a33d51652a0ad87348975fb314610ef39066a2ae64e89739eaaea33d058e085)
+
+build() {
+ cd "${srcdir}/CueParser-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/CueParser-${pkgver}"
+ python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+}