Skip to content

Commit

Permalink
PKGBUILD for Archlinux
Browse files Browse the repository at this point in the history
  • Loading branch information
wuxb45 committed Feb 6, 2021
1 parent 341b031 commit 3e8e9db
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Maintainer: Xingbo Wu <[email protected]>

pkgname=remixdb
pkgver=0.1
pkgrel=1
pkgdesc="RemixDB Embedded Key-Value Store"
arch=('x86_64')
url="https://github.com/wuxb45/remixdb"
license=('GPL3.0')
depends=('glibc' 'liburing')
provides=('libremixdb.so')
source=("git+https://github.com/wuxb45/remixdb")
sha512sums=('SKIP')
validpgpkeys=('SKIP')

build() {
cd "$pkgname"
make O=r libremixdb.so
}

package() {
cd "$pkgname"
make PREFIX="$pkgdir" install
}
2 changes: 1 addition & 1 deletion lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,6 @@ debug_init(void)
}
}
}
#endif // !defined(NOSIGNAL)

__attribute__((destructor))
static void
Expand All @@ -399,6 +398,7 @@ debug_exit(void)
if (oss.ss_sp)
pages_unmap(oss.ss_sp, PGSZ * 16);
}
#endif // !defined(NOSIGNAL)

void
debug_dump_maps(FILE * const out)
Expand Down

0 comments on commit 3e8e9db

Please sign in to comment.