mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-12 08:44:38 +08:00
24 lines
730 B
Bash
24 lines
730 B
Bash
|
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
||
|
# Contributor from Arch: Alexander Rødseth <rodseth@gmail.com>
|
||
|
|
||
|
pkgname=setconf
|
||
|
pkgver=0.5.2
|
||
|
pkgrel=1
|
||
|
pkgdesc='Utility to easily change settings in configuration files or Makefiles'
|
||
|
arch=('any')
|
||
|
url='http://setconf.roboticoverlords.org/'
|
||
|
license=('GPL')
|
||
|
depends=('python')
|
||
|
source=("http://setconf.roboticoverlords.org/$pkgname-$pkgver.tbz2")
|
||
|
sha256sums=('3225a5392becbe6d679075be9ddd78e2c737d8158920c2f242f95d0765cfb250')
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/$pkgname-$pkgver
|
||
|
sed -i '0,/on/s//on3/' $pkgname.py
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $srcdir/$pkgname-$pkgver
|
||
|
install -Dm755 $pkgname.py $pkgdir/usr/bin/$pkgname
|
||
|
install -Dm644 $pkgname.1.gz $pkgdir/usr/share/man/man1/$pkgname.1.gz
|
||
|
}
|