diff options
author | Mark Wagie | 2021-06-17 16:52:41 -0600 |
---|---|---|
committer | Mark Wagie | 2021-06-17 16:52:41 -0600 |
commit | 16a2b1949ca8da71cececaae0c2fad0ba6fb5807 (patch) | |
tree | 1ab5dfd703089f53338722381e8ab99263353c04 | |
parent | 25ae1cf76f93f9971b0f124fbb29fa668857ceaa (diff) | |
download | aur-16a2b1949ca8da71cececaae0c2fad0ba6fb5807.tar.gz |
fix deps
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | PKGBUILD | 27 |
3 files changed, 22 insertions, 16 deletions
@@ -6,11 +6,8 @@ pkgbase = nemo-ext-git-git arch = i686 arch = x86_64 license = GPL3 - makedepends = gnome-common makedepends = meson - makedepends = intltool depends = git - depends = gobject-introspection depends = gtk3 depends = nemo-python provides = nemo-ext-git=1.3 @@ -22,4 +19,3 @@ pkgbase = nemo-ext-git-git sha256sums = SKIP pkgname = nemo-ext-git-git - diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..4dab8d6386e3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +# Ignore everything +* + +# But not these files... +!.gitignore +!PKGBUILD +!.SRCINFO @@ -6,14 +6,19 @@ pkgdesc="Nemo extension to add important information about the current git direc arch=('i686' 'x86_64') url="https://github.com/bilelmoussaoui/nautilus-git" license=('GPL3') -depends=('git' 'gobject-introspection' 'gtk3' 'nemo-python') -makedepends=('gnome-common' 'meson' 'intltool') +depends=('git' 'gtk3' 'nemo-python') +makedepends=('meson') provides=("${pkgname%-git}=1.3" 'nautilus-git=1.3') conflicts=("${pkgname%-git}-1.3" 'nautilus-git=1.3' 'nemo-folder-icons') # See https://github.com/bilelmoussaoui/nautilus-folder-icons/issues/34 source=("${pkgname%-git}::git+https://github.com/bilelmoussaoui/nautilus-git") sha256sums=('SKIP') +pkgver() { + cd "$srcdir/${pkgname%-git}" + printf "%s" "$(git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')" +} + prepare() { cd "$srcdir/${pkgname%-git}" @@ -21,18 +26,16 @@ prepare() { sed -i '37,38d' meson.build } -pkgver() { - cd "$srcdir/${pkgname%-git}" - printf "%s" "$(git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')" -} - build() { - cd "$srcdir/${pkgname%-git}" - arch-meson builddir -Dfile_manager=nemo - ninja -C builddir + arch-meson "${pkgname%-git}" build -Dfile_manager=nautilus + meson compile -C build } +# No tests defined +#check() { +# meson test -C build --print-errorlogs +#} + package() { - cd "$srcdir/${pkgname%-git}" - DESTDIR="$pkgdir" ninja -C builddir install + DESTDIR="$pkgdir" meson install -C build } |