Creating a pkgbuild file
This commit is contained in:
parent
5196d165b9
commit
e994049580
2 changed files with 29 additions and 0 deletions
28
PKGBUILD
Normal file
28
PKGBUILD
Normal 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
1
src/pshell
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 5196d165b945133f2777a3079912e11ee31c35a2
|
Loading…
Add table
Add a link
Reference in a new issue