summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2022-01-06 17:24:31 -0700
committerMark Wagie2022-01-06 17:24:31 -0700
commit4b00b4129ed4f35251c0467f3d31e7d5972bf7e3 (patch)
tree1b2884c8ba318ce4f7467d0a096f1b0dc17a35d0
parente0125f254a1b7464da5812f7a43a7901d179a7cb (diff)
downloadaur-nemo-deja-dup-git.tar.gz
minor PKGBUILD improvements
-rw-r--r--.SRCINFO1
-rw-r--r--.gitignore7
-rw-r--r--PKGBUILD10
3 files changed, 12 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 871561f104f..2f55fcfac46 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -14,4 +14,3 @@ pkgbase = nemo-deja-dup-git
sha256sums = SKIP
pkgname = nemo-deja-dup-git
-
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..4dab8d6386e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+# Ignore everything
+*
+
+# But not these files...
+!.gitignore
+!PKGBUILD
+!.SRCINFO
diff --git a/PKGBUILD b/PKGBUILD
index 9aae9c5f38a..b23827564e9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,12 +14,12 @@ source=("git+https://github.com/erickj/nemo-actions.git")
sha256sums=('SKIP')
pkgver() {
- cd "$srcdir/nemo-actions"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ cd "$srcdir/nemo-actions"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
- cd "$srcdir/nemo-actions"
- install -Dm755 deja-dup_restore-missing.nemo_action -t "$pkgdir/usr/share/nemo/actions"
- install -Dm755 deja-dup_revert.nemo_action -t "$pkgdir/usr/share/nemo/actions"
+ cd "$srcdir/nemo-actions"
+ install -Dm755 deja-dup_restore-missing.nemo_action -t "$pkgdir/usr/share/nemo/actions"
+ install -Dm755 deja-dup_revert.nemo_action -t "$pkgdir/usr/share/nemo/actions"
}