Create Package Builder
This commit is contained in:
parent
17367f644d
commit
d80ae7cd13
6 changed files with 25 additions and 3 deletions
5
build/build.py
Normal file
5
build/build.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
import shutil, os
|
||||
|
||||
shutil.make_archive("welcome", "gztar", "welcome")
|
||||
os.system("makepkg -f")
|
||||
os.remove("welcome.tar.gz")
|
20
build/pkgbuild
Normal file
20
build/pkgbuild
Normal file
|
@ -0,0 +1,20 @@
|
|||
pkgname=welcome
|
||||
destname="/usr"
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
pkgdesc='Parch dorood (/do-rood/, درود, pronunciation) which is Persian word for "Greetings", is a welcome app in the Parch distribution.'
|
||||
arch=('x86_64')
|
||||
url="https://parchlinux.ir"
|
||||
license=('GPL')
|
||||
makedepends=()
|
||||
depends=()
|
||||
optdepends=()
|
||||
conflicts=()
|
||||
provides=("${pkgname}")
|
||||
options=(!strip !emptydirs)
|
||||
source=("${pkgname}.tar.gz")
|
||||
sha256sums=('SKIP')
|
||||
package() {
|
||||
install -dm755 ${pkgdir}${destname}
|
||||
cp -r ${srcdir}/${pkgname}${destname}/* ${pkgdir}${destname}
|
||||
}
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
|
@ -1,3 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
sudo cp -r usr /
|
||||
sudo chmod +x /usr/bin/Welcome
|
Loading…
Add table
Reference in a new issue