Creating a pkgbuild file

This commit is contained in:
kake26 2025-04-14 22:16:01 -05:00
parent 5196d165b9
commit e994049580
Signed by: kake26
GPG key ID: E0A989B571D1F99F
2 changed files with 29 additions and 0 deletions

28
PKGBUILD Normal file
View file

@ -0,0 +1,28 @@
# makedeb configuration for pshell
pkgname=pshell
pkgver=1.0
pkgrel=1
pkgdesc="A modular Perl shell with SQLite command history"
url="https://git.urandom.link/kake26/pshell"
arch=('any')
license=('PerlArtistic' 'GPL')
maintainer="Paul M <codeberg@pngpst.net>"
depends=(
'perl'
'perl-dbi'
'perl-dbd-sqlite'
'perl-term-readline'
)
source=("$pkgname-$pkgver.tar.gz::file://../${pkgname}-${pkgver}.tar.gz")
sha256sums=('SKIP')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
perl Makefile.PL
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make install DESTDIR="${pkgdir}"
}

1
src/pshell Submodule

@ -0,0 +1 @@
Subproject commit 5196d165b945133f2777a3079912e11ee31c35a2