mirror of
https://github.com/archlinux/aur.git
synced 2026-02-09 06:38:44 +01:00
PKGBUILD: Add examples on how to change configuration and apply patches
This commit is contained in:
parent
6cca0750bc
commit
7c9536ba1d
2 changed files with 11 additions and 2 deletions
2
.SRCINFO
2
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = sled
|
||||
pkgdesc = Simple text editor
|
||||
pkgver = 0.9.7
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://strahinja.srht.site/sled
|
||||
arch = x86_64
|
||||
license = GPL3
|
||||
|
|
|
|||
11
PKGBUILD
11
PKGBUILD
|
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Strahinya Radich <contact@strahinja.org>
|
||||
pkgname=sled
|
||||
pkgver=0.9.7
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Simple text editor"
|
||||
arch=('x86_64')
|
||||
url="https://strahinja.srht.site/sled"
|
||||
|
|
@ -11,6 +11,15 @@ md5sums=('baffb8c1958276fb719a9ff5cabd1373')
|
|||
|
||||
build() {
|
||||
cd $pkgname-v$pkgver
|
||||
|
||||
# Example on how to apply patches: dark theme patch (uncomment next
|
||||
# line)
|
||||
#git am patch/dark-theme.patch
|
||||
|
||||
# Example on how to disable configuration options: turn off wrap
|
||||
# (uncomment next line)
|
||||
#sed -i 's,^\(#define ENABLE_WRAP\),//\1,' config.h
|
||||
|
||||
FALLBACKVER=$pkgver-$pkgrel PREFIX="$pkgdir/usr" ./do -c
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue