Skip to content

Instantly share code, notes, and snippets.

@otreblan
Created April 12, 2020 22:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save otreblan/5f6e6e9026f6a8f0b8f23f5ef91e7ae6 to your computer and use it in GitHub Desktop.
Save otreblan/5f6e6e9026f6a8f0b8f23f5ef91e7ae6 to your computer and use it in GitHub Desktop.
Updated elfio PKGBUILD 3.5
# Maintainer: jerry73204 <jerry73204@gmail.com>
pkgname=elfio
pkgver=3.5
pkgrel=1
pkgdesc="ELFIO is a small, header-only C++ library that provides a simple interface for reading and generating files in ELF binary format"
arch=('i686' 'x86_64')
url="https://github.com/serge1/ELFIO"
license=('MIT')
depends=('gcc-libs')
makedepends=()
options=('strip')
source=("$url/releases/download/Release_$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('38215f17bb1b140c8afbf4c116d5303047619e70446dc393ef041f3c639a01cd')
build() {
cd "$pkgname-$pkgver"
autoreconf --install
./configure --prefix=/usr
make
}
check() {
cd "$pkgname-$pkgver"
make -k check
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment