Date: Saturday, February 20, 2021 @ 13:01:38 Author: arojas Revision: 866813
archrelease: copy trunk to community-x86_64 Added: lxhotkey/repos/community-x86_64/PKGBUILD (from rev 866812, lxhotkey/trunk/PKGBUILD) Deleted: lxhotkey/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 104 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 52 insertions(+), 52 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-02-20 13:01:26 UTC (rev 866812) +++ PKGBUILD 2021-02-20 13:01:38 UTC (rev 866813) @@ -1,52 +0,0 @@ -# Maintainer: Balló György <ballogyor+arch at gmail dot com> - -pkgbase=lxhotkey -pkgname=(lxhotkey lxhotkey-gtk3) -pkgver=0.1.0 -pkgrel=3 -pkgdesc='Keyboard shortcuts configurator (part of LXDE)' -arch=('x86_64') -license=('GPL2') -url='https://lxde.org/' -depends=('gtk2' 'gtk3' 'libfm') -makedepends=('intltool') -source=(https://downloads.sourceforge.net/lxde/$pkgbase-$pkgver.tar.xz) -sha1sums=('0d43334f1f144746ed7ae3ab361105fd1ddfad26') - -prepare() { - cd $pkgbase-$pkgver - ./autogen.sh -} - -build() { - # GTK+ 2 version - [ -d gtk2 ] || cp -r $pkgbase-$pkgver gtk2 - cd gtk2 - ./configure --sysconfdir=/etc --prefix=/usr --with-gtk=2 - make - - cd "$srcdir" - # GTK+ 3 version - [ -d gtk3 ] || cp -r $pkgbase-$pkgver gtk3 - cd gtk3 - ./configure --sysconfdir=/etc --prefix=/usr --with-gtk=3 - make -} - -package_lxhotkey() { - groups=('lxde') - depends=('gtk2' 'libfm') - - cd gtk2 - make DESTDIR="$pkgdir" install -} - -package_lxhotkey-gtk3() { - groups=('lxde-gtk3') - pkgdesc+=' (GTK+ 3 version)' - depends=('gtk3' 'libfm' 'libunistring') - conflicts=('lxhotkey') - - cd gtk3 - make DESTDIR="$pkgdir" install -} Copied: lxhotkey/repos/community-x86_64/PKGBUILD (from rev 866812, lxhotkey/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-02-20 13:01:38 UTC (rev 866813) @@ -0,0 +1,52 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgbase=lxhotkey +pkgname=(lxhotkey lxhotkey-gtk3) +pkgver=0.1.1 +pkgrel=1 +pkgdesc='Keyboard shortcuts configurator (part of LXDE)' +arch=('x86_64') +license=('GPL2') +url='https://lxde.org/' +depends=('gtk2' 'gtk3' 'libfm') +makedepends=('intltool') +source=(https://downloads.sourceforge.net/lxde/$pkgbase-$pkgver.tar.xz) +sha1sums=('2f41397a07dc3ae19607be23f61f09cdb93c8a3d') + +prepare() { + cd $pkgbase-$pkgver + ./autogen.sh +} + +build() { + # GTK+ 2 version + [ -d gtk2 ] || cp -r $pkgbase-$pkgver gtk2 + cd gtk2 + ./configure --sysconfdir=/etc --prefix=/usr --with-gtk=2 + make + + cd "$srcdir" + # GTK+ 3 version + [ -d gtk3 ] || cp -r $pkgbase-$pkgver gtk3 + cd gtk3 + ./configure --sysconfdir=/etc --prefix=/usr --with-gtk=3 + make +} + +package_lxhotkey() { + groups=('lxde') + depends=('gtk2' 'libfm') + + cd gtk2 + make DESTDIR="$pkgdir" install +} + +package_lxhotkey-gtk3() { + groups=('lxde-gtk3') + pkgdesc+=' (GTK+ 3 version)' + depends=('gtk3' 'libfm' 'libunistring') + conflicts=('lxhotkey') + + cd gtk3 + make DESTDIR="$pkgdir" install +}