You are not logged in.
I discovered a really great GTK based IRC client. http://loqui.good-day.net/
So I made this PKGBUILD:
# Maintainer: Dolores Portalatin <meskarune@gmail.com>
pkgname=loqui
pkgver=0.4.4
pkgrel=1
pkgdesc="A lightweight gtk+ IRC client"
arch=('i686' 'x86_64')
url="http://loqui.good-day.net/"
license=('GPL')
groups=()
depends=('gnet>=2.0.0' 'gtk+>=2.20.1' 'glib2' )
makedepends=()
source=(http://loqui.good-day.net/src/$pkgname-$pkgver.tar.gz)
noextract=()
md5sums=(f6f603354f3eb65421b9e9b93feb2eab) #generate with 'makepkg -g'
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$pkgdir install || return 1
}
The only issue is that the program doesn't send a .desktop file to /usr/share/applications so that an icon shows up in application menu's
How would I get it to do that? (I don't think the regular install creates this file)
Also, it would be great if anyone could let me know if anything is missing from the PKGBUILD. I want to submit it to AUR, and its the first time I've done that with a package.
Last edited by Meskarune (2010-05-14 19:57:15)
Homepage | Arch Linux Women | Arch Linux Classroom
Acer Aspire E5-575G-53VG:
Intel Dual-Core i5-6200U 2.3 GHz; Skylake rev3 | 8GB DDR4 ram | Intel HD Graphics 520 + NVIDIA GeForce 940MX
Qualcomm Atheros QCA9377 802.11ac | Realtek RTL8111/8168/8411 Gigabit Ethernet Controller
Offline
depends=('gnet>=2.0.0' 'gtk+>=2.20.1' )
gtk+ doesn't exist in our repos and it should be gtk2. If they didn't provide such .desktop you should create it and install it in /usr/share/applications
Give what you have. To someone, it may be better than you dare to think.
Offline
make a .desktop file and install(1) it. And also submitt it upstream, the author might just happen to include it.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
You can also remove empty variables form the PKGBUILD (groups, makedepends, etc)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Ok, this seems to work:
# Maintainer: Dolores Portalatin <meskarune@gmail.com>
pkgname=loqui
pkgver=0.4.4
pkgrel=1
pkgdesc="A lightweight gtk+ IRC client"
arch=('i686' 'x86_64')
url="http://loqui.good-day.net/"
license=('GPL')
depends=('gnet>=2.0.0' 'glib2')
source=(http://loqui.good-day.net/src/$pkgname-$pkgver.tar.gz)
md5sums=(f6f603354f3eb65421b9e9b93feb2eab)
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$pkgdir install || return 1
install -Dm644 $srcdir/$pkgname-$pkgver/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
}
edit: Looks like this package exists in AUR already: http://aur.archlinux.org/packages.php?ID=6667
but it doesn't show up when I search for it in yaourt or clyde...?
Last edited by Meskarune (2010-05-14 21:25:08)
Homepage | Arch Linux Women | Arch Linux Classroom
Acer Aspire E5-575G-53VG:
Intel Dual-Core i5-6200U 2.3 GHz; Skylake rev3 | 8GB DDR4 ram | Intel HD Graphics 520 + NVIDIA GeForce 940MX
Qualcomm Atheros QCA9377 802.11ac | Realtek RTL8111/8168/8411 Gigabit Ethernet Controller
Offline
it showed up when i just searched for it in clyde, how were you searching for it?
either way, no harm in getting a little packaging experience under the belt.
Offline
The configure line should have "|| return 1" in case it fails.
[git] | [AURpkgs] | [arch-games]
Offline