Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
122 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Maintainer: Lara Maia <lara@craft.net.br> | ||
# | ||
# Contributors: Nuno Araujo <nuno.araujo at russo79.com> | ||
# Guan Qing <neokuno@gmail.com> | ||
# Liudas <liudas@akmc.lt> | ||
# Tom Tryfonidis <tomtryf [at] gmail [dot] com> | ||
|
||
pkgname=key-mon | ||
pkgver=1.17 | ||
pkgrel=1 | ||
pkgdesc="A small utility to display your current keyboard and mouse status. Useful for screencasts." | ||
arch=('any') | ||
url="http://code.google.com/p/key-mon/" | ||
depends=('pygtk' 'dbus-glib' 'python2-dbus' 'python2-xlib') | ||
makedepends=('python2-distribute') | ||
install=${pkgname}.install | ||
license=('Apache 2.0') | ||
|
||
source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$pkgname/$pkgname-$pkgver.tar.gz | ||
$pkgname.install) | ||
|
||
md5sums=('68bfe1ff8765878cf7d100759d433473' | ||
'bb92b6ada97430e35595ca0f7e48b931') | ||
|
||
package() { | ||
cd "$srcdir"/$pkgname-$pkgver | ||
|
||
python2 setup.py install --root="$pkgdir" | ||
|
||
install -Dm644 "$srcdir"/$pkgname-$pkgver/icons/key-mon.desktop "$pkgdir"/usr/share/applications/key-mon.desktop | ||
install -Dm644 "$srcdir"/$pkgname-$pkgver/icons/key-mon.xpm "$pkgdir"/usr/share/pixmaps/key-mon.xpm | ||
|
||
find "$pkgdir" -type f -exec sed -i 's|/usr/bin/python$|/usr/bin/python2|g' {} + | ||
} | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
post_install() { | ||
update-desktop-database -q | ||
} | ||
|
||
post_upgrade() { | ||
post_install $1 | ||
} | ||
|
||
post_remove() { | ||
update-desktop-database -q | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env python3 | ||
# | ||
# This file is the most simple lilac.py file, | ||
# and it suits for most packages in AUR. | ||
# | ||
|
||
from lilaclib import * | ||
|
||
|
||
build_prefix = 'extra-x86_64' | ||
pre_build = aur_pre_build | ||
post_build = aur_post_build | ||
|
||
if __name__ == '__main__': | ||
single_main(build_prefix) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Contributor: Adria Arrufat <swiftscythe @t gmail d@t com> | ||
# Contributor: Gordin <9ordin @t gmail d@t com> | ||
|
||
pkgname=screenkey | ||
pkgver=0.9 | ||
pkgrel=1 | ||
pkgdesc="Screencast tool to show your keys inspired by Screenflick, based on key-mon. Active fork with new features." | ||
arch=('any') | ||
url="https://github.com/wavexx/screenkey" | ||
license=('GPL3') | ||
depends=('python2' 'pygtk' 'libx11') | ||
optdepends=('slop') | ||
makedepends=('python2-distutils-extra' 'python2-setuptools') | ||
source=("https://github.com/wavexx/$pkgname/archive/$pkgname-$pkgver.tar.gz") | ||
sha256sums=('20f0b5415906cfb5cf41ca4f61c4ca22d4a13413aed87980d4d1a03dc92e7157') | ||
|
||
build() { | ||
cd "$srcdir/$pkgname-$pkgname-$pkgver" | ||
python2 setup.py build | ||
} | ||
|
||
package() { | ||
cd "$srcdir/$pkgname-$pkgname-$pkgver" | ||
python2 setup.py install --skip-build --optimize=1 --root="$pkgdir/" | ||
} | ||
|
||
# vim:set ts=2 sw=2 et: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env python3 | ||
# | ||
# This file is the most simple lilac.py file, | ||
# and it suits for most packages in AUR. | ||
# | ||
|
||
from lilaclib import * | ||
|
||
|
||
build_prefix = 'extra-x86_64' | ||
pre_build = aur_pre_build | ||
post_build = aur_post_build | ||
|
||
if __name__ == '__main__': | ||
single_main(build_prefix) | ||
|
||
|