summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fe22084fb5373e57a80676a5e88cef9ad773b464 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Generated by debtap
# Maintainer: Pierre Killy <myFirstName dot myLastNAme at gmail dot com>
# Contributor: Pierre Killy <myFirstName dot myLastNAme at gmail dot com>
# Author: Daniel J. Bernstein
pkgname=ptyget-bin
pkgver=6
pkgrel=2
pkgdesc="Toolset for running programs in their \"interactive mode\" behaviours."
arch=('x86_64')
url="https://jdebp.eu/Softwares/djbwares/"
license=('custom:ISC')
groups=('djbwares')
provides=('ptyget=6')
options=('!strip' '!emptydirs')
source_x86_64=("https://jdebp.eu/Repository/debian/dists/stable/main/binary-amd64/ptyget_6_amd64.deb")
sha512sums_x86_64=('78a9569af9773e19af426d7f383334158d52a89198dcbab10283234e70688c7524e2f3ebfe88c18f72058a85e2553b87cc41bc8bab45f1ed33d24d726b30834e')

package(){

	# Extract package data
	tar xf data.tar.xz -C "${pkgdir}"

	# Fix directories structure differencies
	cd "${pkgdir}"

	mkdir usr/bin 2> /dev/null
	mv usr/local/bin/* usr/bin
	mv usr/local/sbin/* usr/bin
	rm -rf usr/local/bin usr/local/sbin

	mv usr/local/* usr
	rm -rf usr/local

	cd ..

}