summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Fleming2017-04-09 15:07:45 -0400
committerWill Fleming2017-04-09 15:13:44 -0400
commit729a3f2c00f9024038fc8cb975c93348843152f2 (patch)
treed88d451d8f9e623189afed03526b115daf889b83
downloadaur-729a3f2c00f9024038fc8cb975c93348843152f2.tar.gz
Release v0.1.0
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore5
-rw-r--r--Makefile18
-rw-r--r--PKGBUILD17
4 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d131a83041f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = gifcast
+ pkgdesc = A simple GIF screen recorder
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://github.com/wfleming/gifcast
+ arch = any
+ license = MIT
+ depends = recordmydesktop
+ depends = ffmpeg
+ depends = xorg-xwininfo
+ depends = xrectsel
+ source = https://github.com/wfleming/gifcast/archive/v0.1.0.tar.gz
+ md5sums = 1f1ea71a9f972b4c9a468f063a90a956
+
+pkgname = gifcast
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..4800c1bb9f3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+/*
+!/.SRCINFO
+!/.gitignore
+!/Makefile
+!/PKGBUILD
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000000..afb7fdfc6c8
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+VERSION = 0.1.0
+RELEASE = 1
+
+release: PKGBUILD .SRCINFO
+ updpkgsums
+ rm v$(VERSION).tar.gz
+ git add .SRCINFO Makefile PKGBUILD
+ git commit -m "Release v$(VERSION)"
+ #git push
+
+PKGBUILD:
+ sed -i 's/^pkgver=.*/pkgver=$(VERSION)/g' PKGBUILD
+ sed -i 's/^pkgrel=.*/pkgrel=$(RELEASE)/g' PKGBUILD
+
+.SRCINFO:
+ makepkg --printsrcinfo > .SRCINFO
+
+.PHONY: release
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4c7744292d3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,17 @@
+# Author: Will Fleming <will@flemi.ng>
+pkgname=gifcast
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="A simple GIF screen recorder"
+arch=('any')
+url="https://github.com/wfleming/$pkgname"
+license=('MIT')
+source=("https://github.com/wfleming/$pkgname/archive/v$pkgver.tar.gz")
+depends=('recordmydesktop' 'ffmpeg' 'xorg-xwininfo' 'xrectsel')
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+}
+md5sums=('1d4a19932ccf9045bbbc59c6a97ee50d')