diff options
author | FirstAirBender | 2021-05-14 14:05:11 -0600 |
---|---|---|
committer | FirstAirBender | 2021-05-14 14:05:11 -0600 |
commit | ee7679edb77d51e1bddac74144334e8c504c0752 (patch) | |
tree | c856dbab19a27693783ac6f7e7f7a4f9e1621e69 | |
download | aur-gnome-c-utils.tar.gz |
create gnome-c-utils package
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ff65620717fa --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = gnome-c-utils + pkgdesc = Utilities when programming for GNOME, for the C language. + pkgver = 3.38.0 + pkgrel = 1 + url = https://github.com/swilmet/gnome-c-utils + arch = any + license = GPL3 + makedepends = meson + depends = glib2 + optdepends = tepl: required for building extra tools. ex gcu-lineup-substitution + optdepends = gtk3: required for building extra tools. ex gcu-lineup-substitution + optdepends = gtksourceview3: required for building extra tools. ex gcu-lineup-substitution + source = gnome-c-utils-3.38.0.tar.gz::https://github.com/swilmet/gnome-c-utils/archive/refs/tags/3.38.0.tar.gz + sha256sums = d75336c3b65c6a55389d778b829c42e8b8a11a28222038bf75b83c7507565b97 + +pkgname = gnome-c-utils + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6625f535eea9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: FirstAirBender <noblechuk5[at]web[dot]de> +pkgname=gnome-c-utils +pkgver=3.38.0 +pkgrel=1 +pkgdesc="Utilities when programming for GNOME, for the C language." +arch=('any') +url="https://github.com/swilmet/gnome-c-utils" +license=('GPL3') +depends=('glib2') +makedepends=('meson') +optdepends=( + 'tepl: required for building extra tools. ex gcu-lineup-substitution' + 'gtk3: required for building extra tools. ex gcu-lineup-substitution' + 'gtksourceview3: required for building extra tools. ex gcu-lineup-substitution' +) +source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz") +sha256sums=('d75336c3b65c6a55389d778b829c42e8b8a11a28222038bf75b83c7507565b97') + +build() { + cd "$pkgname-$pkgver" + arch-meson . build + meson compile -C build +} + +package() { + cd "$pkgname-$pkgver" + DESTDIR="$pkgdir" meson install -C build +} |