Re: makepkg

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



That was a successful build and install, thanks.


--
 Jude <jdashiel at panix dot com>
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.

On Tue, 28 Nov 2023, Lone_Wolf wrote:

>
> On 27-11-2023 13:35, Jude DaShiell wrote:
> > Sorry, I forgot to chmod that file to 666 when uploaded.  That's done now.
> >
> Dowloaded and understand now why it is just 1.1k size : the build log is
> empty.
>
> This only happens when there's no build() function or --repackage is used in
> the makepkg invocation.
>
> I've attached the PKGBUILD I used to build edbrowser-git , try with that.
>
> Incase the attachment isn't usable/removed, here's the contents :
>
> ---------------------------------------
>
> # Contributor: Chris Brannon <cmbrannon79 (at) gmail.com> # Contributor:
> joyfulgirl <joyfulgirl (at) archlinux.us> # Maintainer: aksr <aksr at t-com
> dot me> pkgname=edbrowse-git pkgver=3.8.7.r55.g3b8a1f45 pkgrel=1 pkgdesc="A
> line-oriented editor, browser and mail client." arch=('i686' 'x86_64')
> url="http://edbrowse.org/"; license=('GPL' 'openssl') depends=('openssl' 'pcre'
> 'curl>=7.29.0' 'unixodbc' 'quickjs') makedepends=('git')
> provides=("${pkgname%-git}") conflicts=("${pkgname%-git}")
> source=("$pkgname::git+https://github.com/CMB/edbrowse";) md5sums=('SKIP')
> prepare() { cd "$srcdir/$pkgname/src" sed -i 's!quickjs-libc.h!quickjs/&!'
> jseng-quick.c js_hello_quick.c } pkgver() { cd "$srcdir/$pkgname" git describe
> --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/^v//' } build() { export
> CFLAGS="${CFLAGS} -Wno-format-security" cd "$srcdir/$pkgname"
> QUICKJS_INCLUDE="/usr/include/quickjs" QUICKJS_LIB="/usr/lib/quickjs/" make }
> package() { cd "$srcdir/$pkgname/src" make DESTDIR="$pkgdir" PREFIX=/usr
> install install -Dm644 ../doc/man-edbrowse-debian.1
> $pkgdir/usr/share/man/man1/edbrowse.1 install -Dm644 ../doc/sample.ebrc
> ../README $pkgdir/usr/share/doc/${pkgname%-*} install -Dm644 ../COPYING
> $pkgdir/usr/share/licenses/${pkgname%-*}/COPYING }
>
> Lone_Wolf
>
>



[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