DeLi(cate) Forum
PKGBUILD files - Printable Version

+- DeLi(cate) Forum (http://delicate-linux.net/forum)
+-- Forum: DeLi(cate) Linux [english only] (/forumdisplay.php?fid=3)
+--- Forum: Development (/forumdisplay.php?fid=6)
+--- Thread: PKGBUILD files (/showthread.php?tid=74)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33


RE: PKGBUILD files - tavvva - 08-20-2012 10:28 PM

(07-15-2012 08:58 AM)snacsnoc Wrote:  Tree

few changes were needed, but it's in the repo now ... thank you :]


RE: PKGBUILD files - snacsnoc - 08-20-2012 11:07 PM

(08-20-2012 10:28 PM)tavvva Wrote:  
(07-15-2012 08:58 AM)snacsnoc Wrote:  Tree

few changes were needed, but it's in the repo now ... thank you :]
Oh, great! Big Grin


RE: PKGBUILD files - tavvva - 08-21-2012 12:08 AM

(07-31-2012 07:11 AM)cb88 Wrote:  Mrxvt is much more effcient than xterm. especially with some of the bells and whistles turned off. Even with a minimal confic it is FAR better than xterm.

It doesn't seem to support UTF-8 well :] I'll try to play with that more ...


RE: PKGBUILD files - tavvva - 08-21-2012 03:55 PM

(03-18-2012 01:24 PM)nl2stk Wrote:  Another spreadsheet program for the CLI called 'sc'.
The patches etc are in the tarball.

Finally in the repo ... this package triggered a very strange issue with fakeroot permissions ... only the sc binary was packed without the executable bits whilst the permissions in the pkg directory were correct ... the issue was 100% reproducible few weeks ago ..... Today I tried that again and it's gone ...


RE: PKGBUILD files - nl2stk - 09-05-2012 08:04 PM

(08-14-2012 10:48 AM)tavvva Wrote:  
(08-13-2012 02:04 PM)nl2stk Wrote:  But if I'm 50% I'll do the best I can, cause I like this project very much.

I know and I do appreciate that ....

No tramadol anymore, still not 100%... but I am back :]
So I pretty much believe that I can pickup where I left :]


RE: PKGBUILD files - snacsnoc - 09-05-2012 09:01 PM

(09-05-2012 08:04 PM)nl2stk Wrote:  No tramadol anymore, still not 100%... but I am back :]
So I pretty much believe that I can pickup where I left :]
Glad you're back and feeling better!

Here's XChat (changelog up to 2.8.6 here). I disabled the dbus dependency which allowed it to compile.
Code:
# Maintainer: Easton Elliott <easton@geekness.eu>
# Thanks to: Anke Boersma <abveritas@chakra-project.org>
pkgname=xchat
pkgver=2.8.8
pkgrel=1
pkgdesc="A GTK+ based IRC client"
url="http://www.xchat.org/"
license=('GPL')
depends=('gtk2' 'openssl')
source=("http://www.xchat.org/files/source/${pkgver}/${pkgname}-${pkgver}.tar.xz")
md5sums=('9a11f13121ff0af787bba3b014378e58')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc --enable-openssl \
    --disable-textfe --enable-ipv6 --enable-shm --enable-spell=static --disable-dbus \
    --host=i386-linux-uclibc --build=i386-linux-uclibc
  make
  make DESTDIR="${pkgdir}" install
}
I don't know if this fixed the segmentation fault error, but at least we have a PKGBUILD file for XChat Wink


RE: PKGBUILD files - snacsnoc - 09-07-2012 09:53 AM

I got around to making PKGBUILDs for Transmission 1.80, which supports magnet links. There's also a PKGBUILD for intltool which Transmission depended on, and perl-xml-parser which intltool depended on.

perl-xml-parser
Code:
# Maintainer: Easton Elliott <easton@geekness.eu>
# Thanks to: firmicus <francois@archlinux.org>
# dorphell <dorphell@archlinux.org>
# herb <hrose@archlinux.org>

pkgname=perl-xml-parser
_realname=XML-Parser
pkgver=2.41
pkgrel=1
pkgdesc="Expat-based XML parser module for perl"
license=('GPL' 'PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl' 'expat')
provides=("perlxml=${pkgver}")
source=("http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/${_realname}-${pkgver}.tar.gz")

md5sums=('c320d2ffa459e6cdc6f9f59c1185855e')

build() {
  cd "${srcdir}/${_realname}-${pkgver}"

  # install module in vendor directories.
  perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR="${pkgdir}"

  # remove perllocal.pod and .packlist.
  find "${pkgdir}" -name perllocal.pod -delete
  find "${pkgdir}" -name .packlist -delete
}
intltool
Code:
# Maintainer: Easton Elliott <easton@geekness.eu>
# Thanks to: Eric BĂ©langer <eric@archlinux.org>

pkgname=intltool
pkgver=0.50.2
pkgrel=1
pkgdesc="The internationalization tool collection"
url="https://edge.launchpad.net/intltool"
license=('GPL')
depends=('perl-xml-parser')
source=(http://edge.launchpad.net/intltool/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz{,.asc})
md5sums=('23fbd879118253cb99aeac067da5f591' 'f11cfd28a4127cb34c37ab8c5c80e601')


build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --host=$CHOST --build=$CHOST
  make
  make DESTDIR="${pkgdir}" install
  install -D -m644 doc/I18N-HOWTO "${pkgdir}/usr/share/doc/${pkgname}/I18N-HOWTO"
}
Transmission
Code:
# Maintainer: Easton Elliott <easton@geekness.eu>

pkgname=transmission
pkgdesc="Fast, easy, and free BitTorrent client"
pkgver=1.80
pkgrel=1
url="http://www.transmissionbt.com/"
license=('MIT')
depends=('curl' 'intltool' 'perl-xml-parser')
source=(http://download-origin.transmissionbt.com/files/$pkgname-$pkgver.tar.xz)
md5sums=('900bfba438b36e7326d1d51af775eb61')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --host=$CHOST --build=$CHOST
  make
  make DESTDIR=$pkgdir install
  install -D -m644 COPYING "$pkgdir/usr/share/licenses/transmission/COPYING"
}



RE: PKGBUILD files - snacsnoc - 09-10-2012 01:08 AM

XChat 2.8.8 still segfaults on exit. I've run it in GDB but no luck. After exiting XChat, it hangs and GDB returns with
Code:
Cannot find user-level thread for LWP 25606: generic error
. This also occurs when I try to unload the Python plugin. This forum topic describes the same problem.

I'm trying to compile HexChat, which is a fork for XChat, but it's not going so well.


RE: PKGBUILD files - tavvva - 10-17-2012 10:05 PM

(09-07-2012 09:53 AM)snacsnoc Wrote:  I got around to making PKGBUILDs for Transmission 1.80, which supports magnet links. There's also a PKGBUILD for intltool which Transmission depended on, and perl-xml-parser which intltool depended on.

I intentionally skipped the previous packages in the review list (gonna return to them later)

perl-xml-parser ... we already have p5-xml-parser in the repo ... as the perl-xml-parser build doesn't work properly (broken directories), the package content was not used for the intltool build at all :] the p5-xml-parser was used instead (since it is installed too)

intltool ... just changed the deps to p5-xml-parser, ...

transmission ... missing XPM icons added, missing gtk added in the deps, perl-xml-parser removed from deps, gtk/nls/cli/daemon switches forced to enabled

the rest is OK :] thanks ...

the packages should appear in the repo in few minutes


RE: PKGBUILD files - v_2e - 05-02-2013 02:46 PM

Hello!
I suggest adding testdisk to the repository. Here is my PKGBUILD with which I managed to build it successfully (I took the file from CRUX ports as a basis):

Code:
# Description: Recover lost partitions and files.
# URL: http://www.cgsecurity.org/wiki/TestDisk
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Hannes Mayer, kontakt at ecarux dot de
# Depends on: ntfs-3g_ntfsprogs libjpeg

pkgname=testdisk
pkgver=6.13
pkgrel=1
source=(http://www.cgsecurity.org/$pkgname-$pkgver.tar.bz2)
md5sums=('3bcbf0722d3823ca155e633969ce9f0b')

build() {
    cd $pkgname-$pkgver

    ./configure \
        --build=i386-pc-linux-uclibc \
        --prefix=/usr \
        --mandir=/usr/man

    make
    make DESTDIR=$pkgdir install
    rm -r $pkgdir/usr/share
}