Skip to content

Instantly share code, notes, and snippets.

@Narrat
Narrat / mmex-git PKGBuild
Created October 11, 2014 01:22
Improvement for mmex-git PKGBuild
# Maintainer: Igor Borges <[email protected]>
_pkgname=mmex
pkgname=mmex-git
pkgver=1.1.r347.gc991818
pkgrel=1
pkgdesc="Money Manager Ex, git version"
arch=('i686' 'x86_64')
url="http://www.moneymanagerex.org/"
license=('GPL')
@Narrat
Narrat / faucc PKGBuild
Last active August 29, 2015 14:07
faucc PKGBuild update and improvement
# Maintainer: Laszlo Papp <djszapi at gmail com>
# Contributor: Thomas Karmann <[email protected]>
pkgname=faucc
pkgver=20120707
pkgrel=1
pkgdesc="Optimizing C compiler that can generate Intel code for 16bit/32bit CPUs."
arch=('i686' 'x86_64')
url="http://www3.informatik.uni-erlangen.de/Research/FAUcc/"
license=('GPL')
@Narrat
Narrat / mongoengine PKGBuild
Created October 20, 2014 15:10
SplitPKGBuild for mongoengine
pkgbase=mongoengine
pkgname=('python-mongoengine' 'python2-mongoengine')
pkgver=0.8.7
pkgrel=1
pkgdesc="Document-Object Mapper for working with MongoDB from Python"
arch=('any')
url="http://mongoengine.org/"
license=('MIT')
makedepends=('python-setuptools' 'python2-setuptools' 'python-pymongo' 'python2-pymongo')
options=(!emptydirs)
@Narrat
Narrat / ERROR_calc
Created February 4, 2015 10:19
eispice3
FAIL: Variable (calc)
Doctest: calc.Variable
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.4/doctest.py", line 2193, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for calc.Variable
File "eispice3/module/calc.py", line 64, in Variable
----------------------------------------------------------------------
@Narrat
Narrat / PKGBUILD
Created March 8, 2015 16:23
tapecalc PKGBUILD
# Maintainer:
# Contributor: Lex Black <autumn-wind at web dot de>
pkgname=tapecalc
_pkgname=add
pkgver=20140105
pkgrel=1
pkgdesc="checkbook or expense-account balancing tool (known as add or tapecalc)"
arch=('i686' 'x86_64')
url="http://invisible-island.net/add/add.html"
@Narrat
Narrat / ob-mpd.sh
Last active March 26, 2016 20:22
MPD Pipe Menu making use of mpc and systemctl --user
#! /bin/zsh
# MPD/MPC by olshrimpeyes
# Adjusted by me
servstatus="$(systemctl --user list-units | grep --color=no mpd.service)"
if [[ ! -z "$servstatus" ]]; then
nowplaying=$(mpc | grep - | sed -e 's/\&/&amp;/g')
playing=$(mpc | grep playing)
fi
@Narrat
Narrat / baudline-bin.diff
Created March 26, 2016 22:17
Architecture dependant stuff
diff --git a/PKGBUILD b/PKGBUILD
index cea45f6..ecffb39 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,18 +27,15 @@ makedepends=('imagemagick')
optdepends=('gzip' 'bzip2' 'flac' 'sox' 'mpg123' 'vorbis-tools')
provides=('baudline')
install=baudline-bin.install
-source=("http://www.baudline.com/${pkgname/-bin/}_${pkgver}_linux_${CARCH}.tar.gz"
- "${pkgname/-bin/}.desktop"
@Narrat
Narrat / brackets-bin.diff
Created March 26, 2016 22:37
Architecture specific things
diff --git a/PKGBUILD b/PKGBUILD
index a0decf8..245149c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,15 +20,11 @@ optdepends=("google-chrome: to enable Live Preview"
provides=("brackets=$pkgver")
conflicts=('brackets' 'brackets-git')
install=$pkgname.install
+source_i686=("https://github.com/adobe/$_pkgname/releases/download/release-$pkgver/Brackets.Release.$pkgver.32-bit.deb")
+source_x86_64=("https://github.com/adobe/$_pkgname/releases/download/release-$pkgver/Brackets.Release.$pkgver.64-bit.deb")
@Narrat
Narrat / dunst - log
Created January 17, 2017 19:53
missing svg icons
$ dunst -conf .config/dunst/dunstrc -print
{
appname: 'ponymix'
summary: 'ponymix'
body: ''
icon: 'notification-audio-volume-muted'
category:
urgency: 1
formatted: '<b>ponymix</b>
@Narrat
Narrat / compare
Created January 17, 2017 20:02
dunst part deu
pacman -Ql paper-icon-theme-git | grep notification-audio
paper-icon-theme-git /usr/share/icons/Paper/48x48/notifications/notification-audio-volume-high.svg
paper-icon-theme-git /usr/share/icons/Paper/48x48/notifications/notification-audio-volume-low.svg
paper-icon-theme-git /usr/share/icons/Paper/48x48/notifications/notification-audio-volume-medium.svg
paper-icon-theme-git /usr/share/icons/Paper/48x48/notifications/notification-audio-volume-muted.svg
paper-icon-theme-git /usr/share/icons/Paper/48x48/notifications/notification-audio-volume-off.svg
Config file entry:
icon_folders = /usr/share/icons/Paper/16x16/mimetypes/:/usr/share/icons/Paper/16x16/status/:/usr/share/icons/Paper/16x16/devices/:/usr/share/icons/Paper/48x48/notifications/:/usr/share/icons/hicolor/16x16/apps/:/usr/share/gajim/icons/hicolor/16x16/actions/