diff options
author | xiota | 2024-04-23 15:05:51 +0000 |
---|---|---|
committer | xiota | 2024-04-23 15:07:11 +0000 |
commit | ad6ede7666303477a33248f58f4ce9a5b42e24f4 (patch) | |
tree | c157b43c83bc90d6591b69200932cd5c3b2e2060 | |
parent | 59247bfa8cf8d1529daf289b9cdb841a22e7911c (diff) | |
download | aur-ad6ede7666303477a33248f58f4ce9a5b42e24f4.tar.gz |
minor updates
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 45 |
3 files changed, 39 insertions, 17 deletions
@@ -1,14 +1,13 @@ pkgbase = geany-highlightselectedword - pkgdesc = Geany plugin that highlights the word that is currently selected in the editor + pkgdesc = Geany plugin that highlights all instances of the currently selected word pkgver = 20160801 - pkgrel = 1 + pkgrel = 2 url = https://sourceforge.net/projects/geanyhighlightselectedword/ arch = i686 arch = x86_64 license = GPL depends = geany source = https://downloads.sourceforge.net/project/geanyhighlightselectedword/GeanyHighlightSelectedWord_2016-08-01T00-53-19.zip - md5sums = 91b9a703d3d0e6ec22c22908ce6e4e9b + sha256sums = ab9d8dd680c8b446e4433bec5c3c2a329d30c1b65c2e2ecdaff95444454acfcd pkgname = geany-highlightselectedword - diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..018a3de08144 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!PKGBUILD +!.SRCINFO +!.gitignore @@ -1,27 +1,46 @@ -# Maintainer: Icaro Perseo <icaroperseo[at]protonmail[dot]com> +# Maintainer: +# Contributor: Icaro Perseo <icaroperseo[at]protonmail[dot]com> # Contributor: YamashitaRen <lemaitre(dot)lotus(at)gmail(dot)com> -pkgname=geany-highlightselectedword +_pkgname="geany-highlightselectedword" +pkgname="$_pkgname" pkgver=20160801 -pkgrel=1 -pkgdesc="Geany plugin that highlights the word that is currently selected in the editor" +pkgrel=2 +pkgdesc="Geany plugin that highlights all instances of the currently selected word" url="https://sourceforge.net/projects/geanyhighlightselectedword/" license=('GPL') arch=('i686' 'x86_64') -depends=('geany') + +depends=( + 'geany' + + ## implicit + #at-spi2-core + #cairo + #gdk-pixbuf2 + #glib2 + #gtk3 + #harfbuzz + #pango + #zlib +) + +_pkgsrc="GeanyHighlightSelectedWord_2016-08-01T00-53-19" source=("https://downloads.sourceforge.net/project/geanyhighlightselectedword/GeanyHighlightSelectedWord_2016-08-01T00-53-19.zip") -md5sums=('91b9a703d3d0e6ec22c22908ce6e4e9b') +sha256sums=('ab9d8dd680c8b446e4433bec5c3c2a329d30c1b65c2e2ecdaff95444454acfcd') + +prepare() { + cd "$_pkgsrc" + sed -E -e 's&\bconst const\b&const&' -i GeanyHighlightSelectedWord.c +} build() { - cd "${srcdir}/GeanyHighlightSelectedWord_2016-08-01T00-53-19" + cd "$_pkgsrc" make } package() { - cd "${srcdir}/GeanyHighlightSelectedWord_2016-08-01T00-53-19" - - install -Dm644 GeanyHighlightSelectedWord.so \ - "${pkgdir}/usr/lib/geany/GeanyHighlightSelectedWord.so" -} + cd "$_pkgsrc" -# vim:set ts=2 sw=2 cc=80 et: + install -Dm644 GeanyHighlightSelectedWord.so "$pkgdir/usr/lib/geany/GeanyHighlightSelectedWord.so" +} |