48 lines
1.5 KiB
Bash
48 lines
1.5 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=libsepol
|
|
pkgver=3.6
|
|
pkgrel=02
|
|
pkgdesc="SELinux binary policy manipulation library"
|
|
url='https://github.com/SELinuxProject/selinux'
|
|
groups=('selinux')
|
|
makedepends=('flex')
|
|
depends=('glibc')
|
|
options=(staticlibs)
|
|
conflicts=("selinux-usr-${pkgname}")
|
|
provides=("selinux-usr-${pkgname}=${pkgver}-${pkgrel}")
|
|
source=("https://github.com/SELinuxProject/selinux/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.asc})
|
|
|
|
build() {
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
export CFLAGS="${CFLAGS} -fno-semantic-interposition"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" SHLIBDIR=/usr/lib install
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
# arch=('i686' 'x86_64' 'armv6h' 'aarch64')
|
|
arch=(x86_64)
|
|
|
|
license=('LGPL2.1')
|
|
|
|
validpgpkeys=('63191CE94183098689CAB8DB7EF137EC935B0EAF' # Jason Zaman <perfinion@gentoo.org>
|
|
'B8682847764DF60DF52D992CBC3905F235179CF1') # Petr Lautrbach <plautrba@redhat.com>
|
|
|
|
sha256sums=(c9dc585ea94903d784d597c861cd5dce6459168f95e22b31a0eab1cdd800975a # libsepol-3.6.tar.gz
|
|
ce8244bac5857e3cf8ac095c2373fa787e490a2b62e9686b795b40422aa0f169) # libsepol-3.6.tar.gz.asc
|
|
|
|
## 2cb2cd9128e27bc2f243644fb489b40c7142ef3ada838bbba284d597920abfa2 libsepol-3.6-02-x86_64.pkg.tar.lz
|
|
|