From 341a80fe80fcacafb330684bdf74a68078df0ff8 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 16 Oct 2012 06:17:44 +0000 Subject: main/keybinder: moved from testing --- main/keybinder/APKBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ testing/keybinder/APKBUILD | 44 -------------------------------------------- 2 files changed, 44 insertions(+), 44 deletions(-) create mode 100644 main/keybinder/APKBUILD delete mode 100644 testing/keybinder/APKBUILD diff --git a/main/keybinder/APKBUILD b/main/keybinder/APKBUILD new file mode 100644 index 0000000000..3f5eefeaa1 --- /dev/null +++ b/main/keybinder/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Natanael Copa +# Maintainer: Natanael Copa +pkgname=keybinder +pkgver=0.3.0 +pkgrel=0 +pkgdesc="A library for registering global keyboard shortcuts" +url="http://kaizer.se/wiki/keybinder/" +arch="all" +license="MIT" +depends="" +depends_dev="gtk+2.0-dev libxext-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://kaizer.se/publicfiles/keybinder/keybinder-$pkgver.tar.gz" + +_builddir="$srcdir"/keybinder-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --disable-static \ + --disable-python \ + --disable-lua \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="2a0aed62ba14d1bf5c79707e20cb4059 keybinder-0.3.0.tar.gz" diff --git a/testing/keybinder/APKBUILD b/testing/keybinder/APKBUILD deleted file mode 100644 index 3f5eefeaa1..0000000000 --- a/testing/keybinder/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=keybinder -pkgver=0.3.0 -pkgrel=0 -pkgdesc="A library for registering global keyboard shortcuts" -url="http://kaizer.se/wiki/keybinder/" -arch="all" -license="MIT" -depends="" -depends_dev="gtk+2.0-dev libxext-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://kaizer.se/publicfiles/keybinder/keybinder-$pkgver.tar.gz" - -_builddir="$srcdir"/keybinder-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --disable-static \ - --disable-python \ - --disable-lua \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - rm -f "$pkgdir"/usr/lib/*.la -} - -md5sums="2a0aed62ba14d1bf5c79707e20cb4059 keybinder-0.3.0.tar.gz" -- cgit v1.2.3