summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Falkenberg2021-05-16 17:06:40 +0200
committerRobert Falkenberg2021-05-16 17:06:40 +0200
commit4943061ae19a161eb702cae9cb87db790c359e7e (patch)
treef7cab88edce21d63f695abea40f0769ecf53a047
downloadaur-4943061ae19a161eb702cae9cb87db790c359e7e.tar.gz
Initial import
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD20
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7079c837ff5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = python-gsm0338
+ pkgdesc = Python codec for GSM 03.38
+ pkgver = 1.0.0
+ pkgrel = 1
+ url = https://github.com/dsch/gsm0338
+ arch = any
+ license = MIT
+ makedepends = python-setuptools
+ depends = python
+ depends = python-six
+ source = gsm0338-1.0.0.tar.gz::https://github.com/dsch/gsm0338/archive/refs/tags/v1.0.0.tar.gz
+ sha512sums = 50abd5a9cb93caefab49bdd104a8bb2fd8097edf225df9dc759865d6fd3b43328a3ed57f0905e07cb86b437a9ce527ce0a877735991674dcca33c30a65814775
+
+pkgname = python-gsm0338
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..24fd2c94fa7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Robert Falkenberg <robert.falkenberg@tu-dortmund.de>
+
+pkgname=python-gsm0338
+_pyname=gsm0338
+pkgver=1.0.0
+pkgrel=1
+pkgdesc='Python codec for GSM 03.38'
+arch=('any')
+url='https://github.com/dsch/gsm0338'
+license=('MIT')
+depends=('python' 'python-six')
+makedepends=('python-setuptools')
+source=("${_pyname}-${pkgver}.tar.gz::https://github.com/dsch/gsm0338/archive/refs/tags/v${pkgver}.tar.gz")
+sha512sums=('50abd5a9cb93caefab49bdd104a8bb2fd8097edf225df9dc759865d6fd3b43328a3ed57f0905e07cb86b437a9ce527ce0a877735991674dcca33c30a65814775')
+
+package() {
+ cd "${srcdir}/${_pyname}-${pkgver}"
+ python setup.py install --root="${pkgdir}/" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}