diff options
author | 2016-05-08 16:01:10 -0700 | |
---|---|---|
committer | 2016-05-08 16:01:10 -0700 | |
commit | 0b5091841bce94931e95cb40ddb0147d019b0e1b (patch) | |
tree | 4325b0d7ba8c1820f5a97a1923770b64e84f5e82 | |
parent | Add pplug init script manifest (diff) | |
download | palmer-0b5091841bce94931e95cb40ddb0147d019b0e1b.tar.gz palmer-0b5091841bce94931e95cb40ddb0147d019b0e1b.tar.bz2 palmer-0b5091841bce94931e95cb40ddb0147d019b0e1b.zip |
Split the pkg_postinst into pkg_setup and src_install
As far as I can tell, pkg_postinst doesn't actually work?
-rw-r--r-- | sys-apps/pplug/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/pplug/pplug-0.0.2.ebuild | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/sys-apps/pplug/Manifest b/sys-apps/pplug/Manifest index 8d235da..be23bf0 100644 --- a/sys-apps/pplug/Manifest +++ b/sys-apps/pplug/Manifest @@ -1,3 +1,3 @@ AUX pplug 193 SHA256 1a46f088e8ceffdb9c31a4681015b922420ed64a15410d7294239874d40df66b SHA512 90d95f8d650f1f7808acd63c88dac4474258b377b625ebebdb4066f19d5f7af66ee2ea316164f737a1cf5e181b57226dd7ce6416b6e10a14f4154e8eb556169e WHIRLPOOL e7510b231f89680d88a7c85a7d6a0acdb7b2a52696aab25a7caaa0977c956a6649e4ca57b4d2895aafc8d926d94bc90d330ee2cfbb3fd5d45d245a242aac1f8d DIST pplug-0.0.2.tar.gz 4957 SHA256 1753c64236d1ba6f153b90bb483839203b8d1abe6e8d711d5221c843755c1fed SHA512 a892b3a9e6c2d7d020812c9b81b404235a2d36f79e288c796bcc719fd5f73f82f3b47c7a0ace00af0538fbf989198b4675da7ba77b8fa77831b1d577845a9d0e WHIRLPOOL 1db030f225626e6ef89da5456719f394ce2c71ec4892715ac4e9a52353f96c151b69035acbddd848847ec0378aa4914c7cf420858a9ee42d2f79d83d855e1df7 -EBUILD pplug-0.0.2.ebuild 603 SHA256 9038656de8356e2aea55bf1badc4c6a9ba3479813774160bcda40a0c90279365 SHA512 d8d0219851b329f9bc1693c829ad745684739803ef7fbccfa56721760ba92f82d5ff14527aafe67d8026d0cb2b2b9d00a0eebbedb9a39ee4928770e81487de63 WHIRLPOOL 045c9707cf0a7525895b46625d9dda590f97e7028a810047cd24b9ba8ef37af204d7439b974badfa71fb2758b063d1da58719d59977763c163c94b69287ff0ed +EBUILD pplug-0.0.2.ebuild 656 SHA256 ea23757cf4d35640d1d71130e1d177c0b784f2c208c310a1ad5b39ff9bd3e987 SHA512 6d6eba90d548bb2fb1b0d13ad4bddf5773f26cfb54e9e1af322474bcd67bcab4752f916a2528e116405a5daad6e33754ba2930aa0b559be037d74eef54660edf WHIRLPOOL e65b3469ce0b50de84b0321bfb69ba390796db2fa4a0264b28cc3ae38ebcecb8a23eef7f5ea6f8a75da4055cc34061ae741eb0915ab0ff8cfea2cfc05a5c4053 diff --git a/sys-apps/pplug/pplug-0.0.2.ebuild b/sys-apps/pplug/pplug-0.0.2.ebuild index 1d58c2d..a8682b3 100644 --- a/sys-apps/pplug/pplug-0.0.2.ebuild +++ b/sys-apps/pplug/pplug-0.0.2.ebuild @@ -1,5 +1,5 @@ EAPI="5" -inherit eutils +inherit eutils user DESCRIPTION="A daemon-less hotplug management system" HOMEPAGE="http://github.com/palmer-dabbelt/pplug/" @@ -23,7 +23,11 @@ src_configure() { pconfigure } -pkg_postinst() { +pkg_setup() { enewgroup pplug +} + +src_install() { + emake DESTDIR="${ED}" install doinitd "${FILESDIR}/pplug" } |