diff --git a/nano-syntax-highlighting/PKGBUILD b/nano-syntax-highlighting/PKGBUILD index b477372c..3e5b669b 100644 --- a/nano-syntax-highlighting/PKGBUILD +++ b/nano-syntax-highlighting/PKGBUILD @@ -4,7 +4,7 @@ pkgname=nano-syntax-highlighting conflicts=(${pkgname}-git) replaces=(${pkgname}-git) pkgver=2025.07.01 -pkgrel=1 +pkgrel=2 pkgdesc="Nano editor syntax highlighting enhancements" arch=('any') depends=('nano') @@ -20,8 +20,8 @@ prepare() { } build() { - cd "${pkgname}-${pkgver}" - find *.nanorc -type f | sed "s@${srcdir}\/nanorc@include \/usr\/share\/${pkgname}@" > nanorc.sample + cd "${pkgname}-${pkgver}" + find *.nanorc -type f | sed "s@^@include /usr/share/${pkgname}/@" > nanorc.sample } package() {