Add netevent-git
This commit is contained in:
parent
72814fb1bb
commit
ec0eb91a7e
12
repo/dejvino/makepkg.conf
Normal file
12
repo/dejvino/makepkg.conf
Normal file
@ -0,0 +1,12 @@
|
||||
#!/hint/bash
|
||||
source /etc/makepkg.conf
|
||||
|
||||
CARCH="aarch64"
|
||||
CHOST="aarch64-pc-linux-gnu"
|
||||
|
||||
#-- Compiler and Linker Flags
|
||||
CPPFLAGS="-D_FORTIFY_SOURCE=2"
|
||||
CFLAGS="-march=armv8-a -mtune=generic -O2 -pipe -fno-plt"
|
||||
CXXFLAGS="-march=armv8-a -mtune=generic -O2 -pipe -fno-plt"
|
||||
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
|
||||
|
37
repo/dejvino/netevent/PKGBUILD
Normal file
37
repo/dejvino/netevent/PKGBUILD
Normal file
@ -0,0 +1,37 @@
|
||||
# source: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=netevent-git
|
||||
_pkgbase=netevent
|
||||
pkgname=netevent-git
|
||||
pkgver=ddd330f
|
||||
pkgrel=1
|
||||
pkgdesc="Event device viewing/cloning utility"
|
||||
url="https://github.com/Blub/netevent"
|
||||
arch=('aarch64')
|
||||
license=('GPL')
|
||||
depends=()
|
||||
makedepends=('python-docutils')
|
||||
source=("git+https://github.com/Blub/netevent.git")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
CROSS_COMPILING='aarch64-linux-gnu-'
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/netevent"
|
||||
git describe --always
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/$_pkgbase"
|
||||
CXX=${CROSS_COMPILING}g++ ./configure --prefix=/usr
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_pkgbase"
|
||||
sed -i 's/-Werror//' ./Makefile
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_pkgbase"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user