summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Bouvet2020-10-12 10:27:16 +0200
committerQuentin Bouvet2020-10-12 10:27:16 +0200
commit4efe09c66b918c4b41eae365d813e70533302905 (patch)
treeab655f71309da9c01022b440143530c92f81fd35
downloadaur-4efe09c66b918c4b41eae365d813e70533302905.tar.gz
Initial commit
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD28
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a2baaa0cf83
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = python-wpm
+ pkgdesc = Typeracer-like console app for measuring your WPM
+ pkgver = 1.51.5
+ pkgrel = 1
+ url = https://github.com/cslarsen/wpm
+ arch = any
+ license = aGPLV3
+ makedepends = python-setuptools
+ source = -1.51.5::https://github.com/cslarsen/wpm/archive/v1.51.5.tar.gz
+ sha256sums = 74b86418f526c2b4d1e2028ac3207a303f08cb505804c893061ade78b821e4fb
+
+pkgname = python-wpm
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9db33f512a4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Quentin Bouvet <qbouvet at outlook dot com>
+pkgname=python-wpm
+_name=wpm
+pkgver=1.51.5
+pkgrel=1
+pkgdesc="Typeracer-like console app for measuring your WPM"
+arch=('any')
+url="https://github.com/cslarsen/wpm"
+license=('aGPLV3')
+makedepends=('python-setuptools')
+depends=()
+
+source=("${pkg}-${pkgver}::https://github.com/cslarsen/wpm/archive/v${pkgver}.tar.gz")
+sha256sums=('74b86418f526c2b4d1e2028ac3207a303f08cb505804c893061ade78b821e4fb')
+
+build() {
+ cd "$srcdir"/"$_name-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir"/"$_name-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+#
+# makepkg --printsrcinfo > .SRCINFO
+#