summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD30
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..62fd104f8bb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = typingtest-git
+ pkgdesc = A typing test program desktop program with customizability
+ pkgver = v1.0.0.r0.16c3f2b
+ pkgrel = 1
+ url = https://github.com/laelath/typingtest
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = cmake
+ depends = gtk3
+ source = typingtest-git::git+https://github.com/laelath/typingtest.git
+ md5sums = SKIP
+
+pkgname = typingtest-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..746cf605730
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Justin Frank <jf.laelath@gmail.com>
+pkgname=typingtest-git
+pkgver=v1.0.0.r0.16c3f2b
+pkgrel=1
+pkgdesc="A typing test program desktop program with customizability"
+arch=(x86_64)
+url="https://github.com/laelath/typingtest"
+license=('GPL')
+groups=()
+depends=('gtk3')
+makedepends=('git' 'cmake')
+backup=()
+options=()
+install=
+source=('typingtest-git::git+https://github.com/laelath/typingtest.git')
+noextract=()
+md5sums=('SKIP')
+pkgver() {
+ cd "${srcdir}/typingtest-git"
+ printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
+}
+build() {
+ cd "${srcdir}/typingtest-git"
+ cmake .
+ make
+}
+package() {
+ cd "${srcdir}/typingtest-git"
+ make DESTDIR="$pkgdir/" install
+}