summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSefa Eyeoglu2018-08-12 15:04:21 +0200
committerSefa Eyeoglu2018-08-12 15:04:21 +0200
commitd77f2a973c7142346c076a662423fb169d25dddb (patch)
treea8f4cc5070e7a899e553ed83ad646dec98ebfabe
downloadaur-d77f2a973c7142346c076a662423fb169d25dddb.tar.gz
Initial commit.
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD29
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a231904e025
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = screenshot-bash
+ pkgdesc = Screenshot script, that uploads screenshot to a predefined server.
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://gitlab.com/Scrumplex/ScreenshotBASH
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ depends = bash
+ depends = spectacle
+ depends = kdialog
+ depends = sox
+ provides = screenshot-bash
+ provides = upload-bash
+ conflicts = screenshot-bash-git
+ source = https://gitlab.com/Scrumplex/ScreenshotBASH/-/archive/1.0/ScreenshotBASH-1.0.tar.gz
+ sha512sums = f9077e36cd1db6751790a9fbe91201fef5d55a7fce56eb49e1582a201fed809028e5c783462f116ffb365e306318742631052f8396d8f190e4f8c10a9916021a
+
+pkgname = screenshot-bash
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cfb6b936b46
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Sefa Eyeoglu <contact@scrumplex.net>
+
+pkgname=screenshot-bash
+pkgver=1.0
+pkgrel=1
+pkgdesc='Screenshot script, that uploads screenshot to a predefined server.'
+arch=('i686' 'x86_64')
+
+url='https://gitlab.com/Scrumplex/ScreenshotBASH'
+license=('GPL3')
+
+depends=('bash' 'spectacle' 'kdialog' 'sox')
+makedepends=('git')
+provides=('screenshot-bash' 'upload-bash')
+conflicts=('screenshot-bash-git')
+
+source=(
+ "https://gitlab.com/Scrumplex/ScreenshotBASH/-/archive/${pkgver}/ScreenshotBASH-${pkgver}.tar.gz"
+)
+sha512sums=(
+ "f9077e36cd1db6751790a9fbe91201fef5d55a7fce56eb49e1582a201fed809028e5c783462f116ffb365e306318742631052f8396d8f190e4f8c10a9916021a"
+)
+
+package() {
+ cd "ScreenshotBASH-${pkgver}"
+ bash install.sh "$pkgdir/usr/bin"
+ install -v -m644 -D "ScreenshotBASH.khotkeys" "$pkgdir/usr/share/khotkeys/ScreenshotBASH.khotkeys"
+}
+