makedeb
tmux is a terminal multiplexer
Click here to go back to the commit logs for tmux.
Hash: 57c16fa9f5f65e1f9892e88499465a601d91da14
Message: Better packaging
diff --git a/.SRCINFO b/.SRCINFO
index a9bac4b..e8d6ffb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,7 +5,7 @@ epoch = 1
install =
pkgbase = tmux
pkgdesc = tmux is a terminal multiplexer
-pkgrel = 2
+pkgrel = 3
pkgver = 3.3a
url = https://tmux.github.io
arch = amd64
diff --git a/PKGBUILD b/PKGBUILD
index 706916f..455bb29 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Jonathan Apodaca <jrapodaca@gmail.com>
pkgname=tmux
pkgver=3.3a
-pkgrel=2
+pkgrel=3
epoch=1
pkgdesc="tmux is a terminal multiplexer"
arch=(amd64 arm64 arm32 i386 i686)
@@ -35,10 +35,10 @@ prepare() {
build() {
cd "$pkgname-$pkgver"
- ./configure --prefix="$pkgdir/usr" && make
+ ./configure --prefix="/usr" && make
}
package() {
cd "$pkgname-$pkgver"
- make install
+ make DESTDIR="$pkgdir" install
}