summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD20
2 files changed, 15 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8ec51bc0a59..5fffc003434 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = animtext
pkgdesc = an SDL based utility to generate text animations in the style of old DOS prompts
pkgver = 1.0
- pkgrel = 2
+ pkgrel = 3
url = http://luolamies.org/software/misc/
arch = i686
arch = x86_64
license = unknown
depends = sdl
- source = http://luolamies.org/software/misc/animtext.tar.gz
- md5sums = 5871c00f4396d4eabf70ffb905a20d21
+ source = https://github.com/callaa/animtext/archive/master.zip
+ md5sums = 4ac7fcc6d41770fca98f02c36689c420
pkgname = animtext
diff --git a/PKGBUILD b/PKGBUILD
index bf2e021baec..a040a1eeb32 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,25 @@
-# Contributor: jose <jose1711 [at] gmail (dot) com>
+# Maintainer: jose <jose1711 [at] gmail (dot) com>
pkgname=animtext
arch=('i686' 'x86_64')
pkgver=1.0
-pkgrel=2
+pkgrel=3
pkgdesc="an SDL based utility to generate text animations in the style of old DOS prompts"
license=('unknown')
url="http://luolamies.org/software/misc/"
depends=('sdl')
-source=("http://luolamies.org/software/misc/$pkgname.tar.gz")
-md5sums=('5871c00f4396d4eabf70ffb905a20d21')
+source=("https://github.com/callaa/animtext/archive/master.zip")
+md5sums=('4ac7fcc6d41770fca98f02c36689c420')
build() {
-cd $srcdir/$pkgname
-make || return 1
+cd $srcdir/$pkgname-master
+make
+}
+
+package() {
+cd $srcdir/$pkgname-master
install -D -m755 ./animtext $pkgdir/usr/bin/animtext
install -D -m644 ./README $pkgdir/usr/share/doc/animtext/README
-install -D -m644 ./t.txt $pkgdir/usr/share/doc/animtext/t.txt
-install -D -m644 ./test.txt $pkgdir/usr/share/doc/animtext/test.txt
+#install -D -m644 ./t.txt $pkgdir/usr/share/doc/animtext/t.txt
+#install -D -m644 ./test.txt $pkgdir/usr/share/doc/animtext/test.txt
}