upg libselinux-static

add mozilla-common
This commit is contained in:
joborun linux 2024-03-24 20:29:52 +02:00
parent c1c58d0f49
commit e18bd202ed
11 changed files with 87 additions and 12 deletions

View File

@ -7,16 +7,15 @@
pkgname=libselinux-static
_pkgname=${pkgname%-static}
pkgver=3.4
pkgver=3.6
pkgrel=02
pkgdesc="SELinux library (static version)"
arch=('x86_64')
url='https://github.com/SELinuxProject/selinux'
groups=('selinux')
makedepends=()
depends=('libsepol>=3.1') # 'pcre-static')
depends=('libsepol>=3.1')
options=(staticlibs)
source=("https://github.com/SELinuxProject/selinux/releases/download/${pkgver}/${_pkgname}-${pkgver}.tar.gz"{,.asc}
source=("https://github.com/SELinuxProject/selinux/releases/download/${pkgver}/${_pkgname}-${pkgver}.tar.gz" ## {,.asc} currently invalid pub key
"libselinux-static.tmpfiles.d")
build() {
@ -39,14 +38,20 @@ package() {
}
#---- license gpg-key sha256sums ----
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('custom')
validpgpkeys=('E853C1848B0185CF42864DF363A8AD4B982C4373') # Petr Lautrbach <plautrba@redhat.com>
sha256sums=(77c294a927e6795c2e98f74b5c3adde9c8839690e9255b767c5fca6acff9b779 # libselinux-3.4.tar.gz
5c370bdef7b756697445e6838ba1b2d934f668b244461e36e245f589ec994a24 # libselinux-3.4.tar.gz.asc
sha256sums=(ba4e0ef34b270e7672a5e5f1b523fe2beab3a40bb33d9389f4ad3a8728f21b52 # libselinux-3.6.tar.gz
# 568a2a7bb13a781802f0009744f67d3684e9ae6e76f76b80fe719d4bff12cff8 # libselinux-3.6.tar.gz.asc
afe23890fb2e12e6756e5d81bad3c3da33f38a95d072731c0422fbeb0b1fa1fc) # libselinux.tmpfiles.d
## 01f0c51362a467ebb084e8abd91233e3f982e4b3976251f59e496071ba02f84e libselinux-static-3.6-02-x86_64.pkg.tar.lz
## ba4e0ef34b270e7672a5e5f1b523fe2beab3a40bb33d9389f4ad3a8728f21b52 libselinux-3.6.tar.gz
568a2a7bb13a781802f0009744f67d3684e9ae6e76f76b80fe719d4bff12cff8 libselinux-3.6.tar.gz.asc
01f0c51362a467ebb084e8abd91233e3f982e4b3976251f59e496071ba02f84e libselinux-static-3.6-02-x86_64.pkg.tar.lz

View File

@ -2,7 +2,7 @@
pkgname=libselinux-static
_pkgname=${pkgname%-static}
pkgver=3.2
pkgver=3.6
pkgrel=1
pkgdesc="SELinux library (static version)"
arch=('x86_64')
@ -10,10 +10,10 @@ url='https://github.com/SELinuxProject/selinux'
license=('custom')
groups=('selinux')
makedepends=()
depends=('libsepol>=3.1' 'pcre-static')
depends=('libsepol>=3.1')
options=(staticlibs)
source=("https://github.com/SELinuxProject/selinux/releases/download/${pkgver}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('df758ef1d9d4811051dd901ea6b029ae334ffd7c671c128beb16bce1e25ac161')
sha256sums=('ba4e0ef34b270e7672a5e5f1b523fe2beab3a40bb33d9389f4ad3a8728f21b52')
build() {
cd "${_pkgname}-${pkgver}"

View File

@ -1,2 +1,3 @@
gpg -v --recv-keys 63A8AD4B982C4373
gpg --recv-key 63A8AD4B982C4373
gpg --recv-key BC3905F235179CF1

34
mozilla-common/PKGBUILD Normal file
View File

@ -0,0 +1,34 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=mozilla-common
pkgver=1.4
pkgrel=08
pkgdesc='Helper for forks of the Mozilla codebase which still support NPAPI'
url='https://www.mozilla.org/'
install=mozilla-common.install
source=('mozilla-common.sh'
'mozilla-common.csh'
'mozilla-common.install')
package() {
install -d "${pkgdir}/etc/profile.d/"
install -m755 mozilla-common.{,c}sh "${pkgdir}/etc/profile.d/"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL')
sha256sums=(54bd8a040952dc44981e0d93090a0264c20232e7ca9672b6d69e2c7af03eb82f # mozilla-common.sh
f2f252f4e54f8f1d276d7a2a7ff6eee758cdf00fb3f4bc611b0a2219a45e53f0 # mozilla-common.csh
d60a38fedb4690061325f4c5ac5dbd24526bfbe8ed922a9f20608a4ed558571f) # mozilla-common.install
## 43e4b7e466797138927dfc910e469ffd4b914e8753ba072ce62ef1f664779dcf mozilla-common-1.4-08-x86_64.pkg.tar.lz

View File

@ -0,0 +1,21 @@
# Maintainer: Nicola Revelant <nicolarevelant@outlook.com>
# Contributor: Connor Behan <connor.behan@gmail.com>
# Contributor: dale <dale@archlinux.org>
pkgname=mozilla-common
pkgver=1.4
pkgrel=7
pkgdesc='Helper for forks of the Mozilla codebase which still support NPAPI'
arch=('any')
license=('GPL')
url='https://www.mozilla.org/'
install=mozilla-common.install
source=('mozilla-common.sh'
'mozilla-common.csh')
b2sums=('5387e1caa7f6bbacc598510d7415e7c3241f03f802a88d199f810d445a961dce30fd07c4c63e733a55b9b5eab1adeff3783ab0a2feb4009172369d20f80c1c60'
'71a18f7dda59003f90063888e6442e5ae07b54c8041d4c671926a2fde719ed8d7d6693d009383fc2486850cf82986b663f7adf1b344dced33b0f95d0cb836e36')
package() {
install -d "${pkgdir}/etc/profile.d/"
install -m755 mozilla-common.{,c}sh "${pkgdir}/etc/profile.d/"
}

1
mozilla-common/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg}

2
mozilla-common/deps Normal file
View File

@ -0,0 +1,2 @@

View File

@ -0,0 +1 @@
setenv MOZ_PLUGIN_PATH "/usr/lib/mozilla/plugins"

View File

@ -0,0 +1,3 @@
post_install() {
echo 'Relogin or source /etc/profile.d/mozilla-common.sh'
}

View File

@ -0,0 +1 @@
export MOZ_PLUGIN_PATH="/usr/lib/mozilla/plugins"

6
mozilla-common/time Normal file
View File

@ -0,0 +1,6 @@
real 0m1.646s
user 0m1.385s
sys 0m0.394s