upg forgejo
This commit is contained in:
parent
9ff8ef0a22
commit
cfc7dbe110
3 changed files with 16 additions and 12 deletions
|
@ -6,8 +6,8 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=forgejo
|
||||
pkgver=1.20.2.0
|
||||
pkgrel=01
|
||||
pkgver=1.20.3.0
|
||||
pkgrel=02
|
||||
pkgdesc='A lightweight software forge w/o systemd'
|
||||
url='https://forgejo.org'
|
||||
depends=('git')
|
||||
|
@ -23,7 +23,8 @@ optdepends=(
|
|||
'sqlite: SQLite support'
|
||||
)
|
||||
options=('!lto' '!debug')
|
||||
_commit=a1986507b7f962d0bb4f02c53b8e5f56ce7d66bc # tags/v1.20.2-0
|
||||
backup=('etc/forgejo/app.ini')
|
||||
_commit=07531cf9537d169bf8775d4099f853595219678a # tags/v1.20.3-0
|
||||
source=(
|
||||
"$pkgname::git+https://codeberg.org/forgejo/forgejo#commit=$_commit"
|
||||
'sysusers.conf'
|
||||
|
@ -66,8 +67,7 @@ package() {
|
|||
install -vDm755 gitea "$pkgdir/usr/bin/$pkgname"
|
||||
|
||||
# configuration example
|
||||
install -vDm644 custom/conf/app.example.ini -t "$pkgdir/etc/$pkgname"
|
||||
|
||||
install -vDm644 custom/conf/app.example.ini "$pkgdir/etc/$pkgname/app.ini"
|
||||
# license
|
||||
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
|
||||
}
|
||||
|
@ -82,5 +82,5 @@ sha256sums=(SKIP
|
|||
563ebe7e826c351786612102a303b9b3726a218e471b89817af94b2326f46a83 # sysusers.conf
|
||||
b3bb27d8168b9939b83f23d215bc841fba96b16e4e2dc9e1529254f174a12994) # tmpfiles.conf
|
||||
|
||||
## 5a54bef5503014e272af6a21dcee11067be3c0309e859e38d96a38690074a287 forgejo-1.20.2.0-01-x86_64.pkg.tar.lz
|
||||
## 3be7c99dc3328e25edf9937d09c7c6b0a9bdbb80154875cfaef2446ade5cde1f forgejo-1.20.3.0-02-x86_64.pkg.tar.lz
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
|
||||
|
||||
pkgname=forgejo
|
||||
pkgver=1.20.2.0
|
||||
pkgrel=1
|
||||
pkgver=1.20.3.0
|
||||
pkgrel=2
|
||||
pkgdesc='A lightweight software forge'
|
||||
arch=('x86_64')
|
||||
url='https://forgejo.org'
|
||||
|
@ -19,8 +19,9 @@ optdepends=(
|
|||
'redis: Redis support'
|
||||
'sqlite: SQLite support'
|
||||
)
|
||||
backup=('etc/forgejo/app.ini')
|
||||
options=('!lto' '!debug')
|
||||
_commit='a1986507b7f962d0bb4f02c53b8e5f56ce7d66bc'
|
||||
_commit='07531cf9537d169bf8775d4099f853595219678a'
|
||||
source=(
|
||||
"$pkgname::git+https://codeberg.org/forgejo/forgejo#commit=$_commit"
|
||||
'systemd.service'
|
||||
|
@ -73,8 +74,8 @@ package() {
|
|||
# binary
|
||||
install -vDm755 gitea "$pkgdir/usr/bin/$pkgname"
|
||||
|
||||
# configuration example
|
||||
install -vDm644 custom/conf/app.example.ini -t "$pkgdir/etc/$pkgname"
|
||||
# configuration
|
||||
install -vDm644 custom/conf/app.example.ini "$pkgdir/etc/$pkgname/app.ini"
|
||||
|
||||
# license
|
||||
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
|
||||
|
|
|
@ -5,5 +5,8 @@ echo "To discard the code just leave the last line"
|
|||
read
|
||||
sudo mkdir -p /var/cache/src
|
||||
sudo chmod 0777 /var/cache/src
|
||||
tar -cJf /var/cache/src/forgejo.tar.xz forgejo
|
||||
echo "tar -cJf /var/cache/src/forgejo.tar.xz forgejo"
|
||||
ls -lh /var/cache/src/forge*
|
||||
echo "remove source?"
|
||||
read
|
||||
rm -rf {src,pkg,forgejo}
|
||||
|
|
Loading…
Reference in a new issue