Re: makepkg

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




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="" class="moz-txt-link-rfc2396E" href="http://edbrowse.org/">"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

# 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
}

[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