Re: arch-general Digest, Vol 73, Issue 6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi, the src archive is attached. I will copy-paste the files bellow in
case the attached file can not be properly received. However, the hash
may be different.

$ cat PKGBUILD
# Contributor: Jason Chu <jason@xxxxxxxxxxxxx>
# Contributor: Tom Newsom <Jeepster@xxxxxxxxx>
# Contributor: Auguste <auguste@xxxxxxxxx>

pkgname=xboard
pkgver=4.4.4
pkgrel=1
pkgdesc="A graphical user interfaces for chess"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/xboard/";
license=('GPL3')
depends=('libxaw' 'gnuchess' 'texinfo')
install=$pkgname.install
source=(ftp://ftp.gnu.org/gnu/$pkgname/${pkgname}-${pkgver}.tar.gz
        ${pkgname}.install ${pkgname}.desktop)
md5sums=('06a2d921650718ea272e7c0ec957dccc'
         '5fb37acdeb9e6a80ddef0fb056519cd6'
         '1d9d4a7864465a703fe4a215e83f4806')

build()
{
    cd "${srcdir}/${pkgname}-${pkgver}"
    sed -i 's/fairymax/gnuchess/' xboard.h
    ./configure --prefix=/usr --mandir=/usr/share/man
    make
}

package()
{
    install -m 755 -D ${srcdir}/${pkgname}.desktop \
        ${pkgdir}/usr/share/applications/${pkgname}.desktop
    cd "${srcdir}/${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
}
$ cat xboard.install
post_install()
{
    install-info usr/share/info/xboard.info.gz usr/share/info/dir 2> /dev/null
    if [ -e /usr/bin/gtk-update-icon-cache ]
    then
        /usr/bin/gtk-update-icon-cache -fq /usr/share/icons/hicolor
    fi
}

post_upgrade()
{
    post_install $1
}

pre_remove()
{
    install-info --delete usr/share/info/xboard.info.gz
usr/share/info/dir 2> /dev/null
    if [ -e /usr/bin/gtk-update-icon-cache ]
    then
        /usr/bin/gtk-update-icon-cache -fq /usr/share/icons/hicolor
    fi
}
$ cat xboard.desktop
[Desktop Entry]
Type=Application
Version=1.0
Name=XBoard
Comment=An X Window System graphical chessboard
Exec=xboard
Icon=xboard
Terminal=false
Categories=Game;BoardGame

> Message: 9
> Date: Fri, 5 Nov 2010 12:09:33 +0100
> From: Guillaume ALAUX <guillaume@xxxxxxxxxxxxx>
> Subject: Re: [arch-general] package xboard long outdated,       new pkgbuild
>        attached
> To: General Discussion about Arch Linux <arch-general@xxxxxxxxxxxxx>
> Message-ID:
>        <AANLkTim4RCXsLPWVRs_Mr7f6sSsmzFnyKeg1T3jyRyVf@xxxxxxxxxxxxxx>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 5 November 2010 03:21, Auguste Pop <auguste@xxxxxxxxx> wrote:
>
>> Hi,
>>
>> The xboard package in extra has been long outdated and orphaned. I
>> have attached my own PKGBUILD which includes an .desktop file to ease
>> the use.
>>
>> Can any maintainer just update it?
>>
>> Thank you for your kind attention.
>>
>> Best Regards,
>>
>
> Hello Auguste,
>
> No PKGBUILD on your email :)
>
> --
> Guillaume
>
>
> ------------------------------
>
> _______________________________________________
> arch-general mailing list
> arch-general@xxxxxxxxxxxxx
> http://mailman.archlinux.org/mailman/listinfo/arch-general
>
>
> End of arch-general Digest, Vol 73, Issue 6
> *******************************************
>

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux