diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 11 insertions, 12 deletions
@@ -1,20 +1,20 @@ pkgbase = remill-git pkgdesc = Library for lifting of x86, amd64, and aarch64 machine code to LLVM bitcode pkgver = v4.0.8.r0.g71c4d067 - pkgrel = 1 + pkgrel = 2 url = https://github.com/lifting-bits/remill arch = x86_64 license = Apache makedepends = git + depends = cxx-common=0.0.14 depends = ncurses depends = zlib depends = lib32-glibc + depends = lib32-gcc-libs provides = remill conflicts = remill source = remill-git::git+https://github.com/lifting-bits/remill.git - source = https://github.com/trailofbits/cxx-common/releases/download/v0.0.14/libraries-llvm1100-ubuntu20.04-amd64.tar.xz sha256sums = SKIP - sha256sums = 7a680ea1185dfb83bc8a2c3bdb7930e5c1dfc7d78e3af16da65ca525e82ade39 pkgname = remill-git @@ -3,21 +3,18 @@ pkgname=remill-git pkgver=v4.0.8.r0.g71c4d067 -pkgrel=1 -_cxxcommonver=0.0.14 +pkgrel=2 pkgdesc="Library for lifting of x86, amd64, and aarch64 machine code to LLVM bitcode" arch=('x86_64') url="https://github.com/lifting-bits/remill" license=('Apache') -depends=('ncurses' 'zlib' 'lib32-glibc') +depends=('cxx-common=0.0.14' 'ncurses' 'zlib' 'lib32-glibc' 'lib32-gcc-libs') makedepends=('git') checkdepends=() provides=('remill') conflicts=('remill') -source=("$pkgname::git+https://github.com/lifting-bits/remill.git" - "https://github.com/trailofbits/cxx-common/releases/download/v${_cxxcommonver}/libraries-llvm1100-ubuntu20.04-amd64.tar.xz") -sha256sums=('SKIP' - '7a680ea1185dfb83bc8a2c3bdb7930e5c1dfc7d78e3af16da65ca525e82ade39') +source=("$pkgname::git+https://github.com/lifting-bits/remill.git") +sha256sums=('SKIP') pkgver() { cd "$srcdir/$pkgname" @@ -25,7 +22,7 @@ pkgver() { } build() { - export TRAILOFBITS_LIBRARIES="$srcdir/libraries" + export TRAILOFBITS_LIBRARIES="/opt/cxx-common/libraries" export PATH="${TRAILOFBITS_LIBRARIES}/cmake/bin:${TRAILOFBITS_LIBRARIES}/llvm/bin:${PATH}" cd "$srcdir/$pkgname" @@ -42,7 +39,7 @@ build() { } check() { - export TRAILOFBITS_LIBRARIES="$srcdir/libraries" + export TRAILOFBITS_LIBRARIES="/opt/cxx-common/libraries" export PATH="${TRAILOFBITS_LIBRARIES}/cmake/bin:${TRAILOFBITS_LIBRARIES}/llvm/bin:${PATH}" cd "$srcdir/$pkgname/build" @@ -53,6 +50,8 @@ check() { package() { cd "$srcdir/$pkgname/build" make DESTDIR="${pkgdir}" install + sed -i "$pkgdir/usr/lib/cmake/remill/remillConfig.cmake" \ + -e "s|$srcdir/$pkgname-$pkgver/build/lib|/usr/include/remill|g" } # vim: set sw=4 ts=4 et: |