mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
rename $pkgname.install to .install
This commit is contained in:
parent
f9433e695b
commit
001bed5a80
3
.gitignore
vendored
3
.gitignore
vendored
@ -6,5 +6,6 @@
|
|||||||
/pkg/*/*-any.pkg.tar.zst
|
/pkg/*/*-any.pkg.tar.zst
|
||||||
/pkg/*/*-package.log
|
/pkg/*/*-package.log
|
||||||
/pkg/*/*-x86_64-build.log
|
/pkg/*/*-x86_64-build.log
|
||||||
|
/pkg/de-p1st-gnupg/duraconf/
|
||||||
|
|
||||||
/archlive/
|
/archlive/
|
||||||
|
@ -17,7 +17,7 @@ conflicts=()
|
|||||||
replaces=()
|
replaces=()
|
||||||
backup=()
|
backup=()
|
||||||
options=()
|
options=()
|
||||||
install="${pkgname}.install"
|
install='.install'
|
||||||
changelog=
|
changelog=
|
||||||
source=("git+${url}.git")
|
source=("git+${url}.git")
|
||||||
noextract=()
|
noextract=()
|
||||||
|
@ -17,7 +17,7 @@ conflicts=()
|
|||||||
replaces=()
|
replaces=()
|
||||||
backup=()
|
backup=()
|
||||||
options=()
|
options=()
|
||||||
install="${pkgname}.install"
|
install='.install'
|
||||||
changelog=
|
changelog=
|
||||||
source=("git+${url}.git")
|
source=("git+${url}.git")
|
||||||
noextract=()
|
noextract=()
|
||||||
|
@ -17,7 +17,7 @@ conflicts=()
|
|||||||
replaces=()
|
replaces=()
|
||||||
backup=()
|
backup=()
|
||||||
options=()
|
options=()
|
||||||
install="${pkgname}.install"
|
install='.install'
|
||||||
changelog=
|
changelog=
|
||||||
source=("git+${url}.git")
|
source=("git+${url}.git")
|
||||||
noextract=()
|
noextract=()
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
# stdin: default config
|
# stdin: default config
|
||||||
# stdout: modified config
|
# stdout: modified config
|
||||||
cat
|
cat
|
||||||
echo 'Include = /etc/pacman.d/de-p1st'
|
echo 'Include = /etc/pacman.d/de-p1st'
|
||||||
|
37
pkg/de-p1st-smartcard/.install
Normal file
37
pkg/de-p1st-smartcard/.install
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# This is a default template for a post-install scriptlet.
|
||||||
|
# Uncomment only required functions and remove any functions
|
||||||
|
# you don't need (and this header).
|
||||||
|
|
||||||
|
## arg 1: the new package version
|
||||||
|
#pre_install() {
|
||||||
|
# do something here
|
||||||
|
#}
|
||||||
|
|
||||||
|
## arg 1: the new package version
|
||||||
|
post_install() {
|
||||||
|
holo apply
|
||||||
|
systemctl preset-all
|
||||||
|
}
|
||||||
|
|
||||||
|
## arg 1: the new package version
|
||||||
|
## arg 2: the old package version
|
||||||
|
#pre_upgrade() {
|
||||||
|
# do something here
|
||||||
|
#}
|
||||||
|
|
||||||
|
## arg 1: the new package version
|
||||||
|
## arg 2: the old package version
|
||||||
|
post_upgrade() {
|
||||||
|
holo apply
|
||||||
|
systemctl preset-all
|
||||||
|
}
|
||||||
|
|
||||||
|
## arg 1: the old package version
|
||||||
|
#pre_remove() {
|
||||||
|
# do something here
|
||||||
|
#}
|
||||||
|
|
||||||
|
## arg 1: the old package version
|
||||||
|
post_remove() {
|
||||||
|
holo apply
|
||||||
|
}
|
33
pkg/de-p1st-smartcard/PKGBUILD
Normal file
33
pkg/de-p1st-smartcard/PKGBUILD
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
||||||
|
_pkgname=smartcard
|
||||||
|
_reponame=arch
|
||||||
|
pkgname="de-p1st-$_pkgname"
|
||||||
|
pkgver=0.0.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Configuration to use smartcards"
|
||||||
|
arch=('any')
|
||||||
|
url="https://codeberg.org/privacy1st/${_reponame}"
|
||||||
|
license=('MIT')
|
||||||
|
groups=()
|
||||||
|
depends=('ccid' 'opensc' 'holo' 'de-p1st-gnupg')
|
||||||
|
makedepends=('git')
|
||||||
|
optdepends=()
|
||||||
|
provides=()
|
||||||
|
conflicts=()
|
||||||
|
replaces=()
|
||||||
|
backup=()
|
||||||
|
options=()
|
||||||
|
install='.install'
|
||||||
|
changelog=
|
||||||
|
source=("git+${url}.git")
|
||||||
|
noextract=()
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${_reponame}/pkg/${pkgname}"
|
||||||
|
|
||||||
|
# use HOLO
|
||||||
|
# HOLO, SYSTEMD hooks
|
||||||
|
|
||||||
|
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/"$pkgname".preset
|
||||||
|
}
|
@ -17,7 +17,7 @@ conflicts=()
|
|||||||
replaces=()
|
replaces=()
|
||||||
backup=()
|
backup=()
|
||||||
options=()
|
options=()
|
||||||
install="${pkgname}.install"
|
install='.install'
|
||||||
changelog=
|
changelog=
|
||||||
source=("git+${url}.git")
|
source=("git+${url}.git")
|
||||||
noextract=()
|
noextract=()
|
||||||
|
37
prototype/proto-holo-and-systemd.install
Normal file
37
prototype/proto-holo-and-systemd.install
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# This is a default template for a post-install scriptlet.
|
||||||
|
# Uncomment only required functions and remove any functions
|
||||||
|
# you don't need (and this header).
|
||||||
|
|
||||||
|
## arg 1: the new package version
|
||||||
|
#pre_install() {
|
||||||
|
# do something here
|
||||||
|
#}
|
||||||
|
|
||||||
|
## arg 1: the new package version
|
||||||
|
post_install() {
|
||||||
|
holo apply
|
||||||
|
systemctl preset-all
|
||||||
|
}
|
||||||
|
|
||||||
|
## arg 1: the new package version
|
||||||
|
## arg 2: the old package version
|
||||||
|
#pre_upgrade() {
|
||||||
|
# do something here
|
||||||
|
#}
|
||||||
|
|
||||||
|
## arg 1: the new package version
|
||||||
|
## arg 2: the old package version
|
||||||
|
post_upgrade() {
|
||||||
|
holo apply
|
||||||
|
systemctl preset-all
|
||||||
|
}
|
||||||
|
|
||||||
|
## arg 1: the old package version
|
||||||
|
#pre_remove() {
|
||||||
|
# do something here
|
||||||
|
#}
|
||||||
|
|
||||||
|
## arg 1: the old package version
|
||||||
|
post_remove() {
|
||||||
|
holo apply
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user