pacman package

This commit is contained in:
wt committed 2024-02-15 16:21:06 +07:00
1 parent 1f703d3c9d
commit ef4595a81b
3 files changed
+48 -2

No files matched your search

+3 -1
View File
@@ -1,3 +1,5 @@
*out
*.idea
*.DS_Store
*.DS_Storepkg/
pwdgen-1.0-1-x86_64.pkg.tar.gz
pkg
+1 -1
View File
@@ -19,4 +19,4 @@ clean:
@rm -rf out/$(OUT)
install:
@sudo cp -rf out/$(OUT) $(DESTDIR)
@cp -rf out/$(OUT) $(DESTDIR)
+44
View File
@@ -0,0 +1,44 @@
# Maintainer: Tola Mironcenko <mironcenkotola@gmail.com>
pkgname=pwdgen
pkgver=1.0
pkgrel=1
epoch=
pkgdesc=""
arch=('x86_64')
url=""
license=('GPL')
groups=()
depends=()
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
noextract=()
md5sums=()
validpgpkeys=()
#source=("git+https://github.com/TolaMironcenko/pwdgen.git")
#prepare() {
# cd $pkgname
# mkdir -v out
#}
build() {
#cd $pkgname
cd $HOME/Documents/c/pwdgen
[ ! -d out ] && mkdir out
make
}
package() {
#cd $pkgname
cd $HOME/Documents/c/pwdgen
mkdir -p $pkgdir/usr/local/bin
make DESTDIR="$pkgdir/usr/local/bin/" install
}