diff options
author | Sasha Khamkov | 2015-06-15 09:55:59 +0300 |
---|---|---|
committer | Sasha Khamkov | 2015-06-15 09:55:59 +0300 |
commit | 34b0f3ce88935e63a2be6acb0e5c3190e1a65902 (patch) | |
tree | c66e47285b16427ae7c7e1cb78291f4ca0c5e080 | |
download | aur-34b0f3ce88935e63a2be6acb0e5c3190e1a65902.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cb8a9fc028fc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = gisto + pkgdesc = Cross-platform gist snippets management desktop application that allows you and your team share code snippets fast and easily. Based on GitHub Gist Infrastructure which means you can use all your existing snippets by connecting your GitHub account. + pkgver = 0.3.1 + pkgrel = 1 + url = http://www.gistoapp.com/ + arch = i686 + arch = x86_64 + license = MIT + depends = gconf + depends = ttf-ms-fonts + options = !strip + source = http://download.gistoapp.com/Gisto-0.3.1-Linux_x86.tar.gz + md5sums = 278127a3d3367b62f6fec3bfb480171a + +pkgname = gisto + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..87a1395d4bad --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Sasha Khamkov <sanusart@gmail.com> +pkgname=gisto +pkgver=0.3.1 +pkgrel=1 +epoch= +pkgdesc="Cross-platform gist snippets management desktop application that allows you and your team share code snippets fast and easily. Based on GitHub Gist Infrastructure which means you can use all your existing snippets by connecting your GitHub account." +arch=("i686" "x86_64") +url="http://www.gistoapp.com/" +license=("MIT") +groups=() +options=(!strip) +depends=("gconf" "ttf-ms-fonts") + +_gisto_arch="x86" +_gisto_arch_name="i32" +[ "$CARCH" = "x86_64" ] && _gisto_arch="x86_64" && _gisto_arch_name="x64" + +source=("http://download.gistoapp.com/Gisto-$pkgver-Linux_${_gisto_arch}.tar.gz") + +md5sums=('278127a3d3367b62f6fec3bfb480171a') +[ "$CARCH" = "x86_64" ] && md5sums[0]='f140042d45b965695c5e4c3862daaaf3' + +package() { + + printf "\n\n\n\e[43m \e[0m INSTALLING...\n\n\n------------\n\n\n" + + printf "\e[43m \e[0m CREATE PACKAGE STRUCTURE \n\n\n" + mkdir -p $pkgdir/{opt,usr/bin} + + cp -R $srcdir/Gisto-$pkgver-linux_${_gisto_arch_name}/gisto $pkgdir/opt/ + cp -R $srcdir/Gisto-$pkgver-linux_${_gisto_arch_name}/share $pkgdir/usr/ + + printf "\e[43m \e[0m APPLY LIBUDEV FIX \n\n\n" + + mkdir -p $pkgdir/opt/gisto/lib + ln -sf /usr/lib/libudev.so.1 $pkgdir/opt/gisto/lib/libudev.so.0 + + printf "\e[43m \e[0m CREATE GISTO SYSTEM LINK \n\n\n" + + ln -sf /opt/gisto/gisto $pkgdir/usr/bin/gisto + + printf "\e[43m \e[0m DONE PREPARATIONS :) \n\n\n" + +} |